<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9808</bug_id>
          
          <creation_ts>2016-06-21 15:00:15 +0000</creation_ts>
          <short_desc>Create selenium tests for project dashboard page</short_desc>
          <delta_ts>2017-05-10 16:17:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          
          <blocked>9132</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Wood">michael.g.wood</reporter>
          <assigned_to name="Libertad">libertad.gonzalez.de.la.cruz</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>david.reyna</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>sonia.delgado</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="David Lopez Barriba">davidx.lopez.barriba</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63196</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2016-06-21 15:00:15 +0000</bug_when>
    <thetext>We currently don&apos;t have project dashboard page selenium tests. These may be covered when bug #9484 is done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68601</commentid>
    <comment_count>1</comment_count>
    <who name="Sonia Delgado">sonia.delgado</who>
    <bug_when>2016-11-25 17:56:00 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; We currently don&apos;t have project dashboard page selenium tests. These may be
&gt; covered when bug #9484 is done.

Michael, Looking into http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/bitbake/lib/toaster?id=5bc6fa01e0581c703808597878244cf9a38cefba both efforts bug #9484 and this one are not longer required. could you please confirm?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68638</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2016-11-28 18:23:56 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; (In reply to comment #0)
&gt; &gt; We currently don&apos;t have project dashboard page selenium tests. These may be
&gt; &gt; covered when bug #9484 is done.
&gt; 
&gt; Michael, Looking into
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/bitbake/lib/
&gt; toaster?id=5bc6fa01e0581c703808597878244cf9a38cefba both efforts bug #9484
&gt; and this one are not longer required. could you please confirm?

This is still required work, that commit you references is removing old non functioning tests. If there are parts that have been incorrectly removed lets add them back, no problem.

All the current and working tests for Toaster are found in /tests/ directory of Toaster. If QA have been working on selenium tests (perhaps they are currently out of tree?) this is where they can go.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/bitbake/lib/toaster/tests</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71173</commentid>
    <comment_count>3</comment_count>
    <who name="Libertad">libertad.gonzalez.de.la.cruz</who>
    <bug_when>2017-03-09 16:19:12 +0000</bug_when>
    <thetext>Added 7 new testcases that verify the UI interface and elements of the project detail page.
This testcases can be found on testopia in the links:

Verifies that the project is created and that you get redirected to the configuration page
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1514

Verifies that the left side bar menu, all links are clickable and they show on the UI
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1515

Verifies that after creating a project the default project configuration is created
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1516

Verifies that the default machine is set, once creating the project
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1517

Verifies the built recipes information of the project detail page
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1518

Verifies the default release information of the project
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1519

Verifies that the default layers are assigned to the project
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1520

Verifies that the links to the Configuration, Builds, Import layer and New Custom Image are present and work.
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1521</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72117</commentid>
    <comment_count>4</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2017-04-05 23:37:45 +0000</bug_when>
    <thetext>Pass my test:

1. $ source oe-init-build-env
2. $ export TOASTER_TESTS_BROWSER=&apos;firefox&apos;
3. $ export DJANGO_SETTINGS_MODULE=&apos;toastermain.settings_test&apos;
4. $ ../bitbake/lib/toaster/manage.py/manage.py test tests.functional

Patch sent upstream</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73167</commentid>
    <comment_count>5</comment_count>
    <who name="Libertad">libertad.gonzalez.de.la.cruz</who>
    <bug_when>2017-05-10 16:17:47 +0000</bug_when>
    <thetext>commit was integraded</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>