Closed Bug 720191 Opened 12 years ago Closed 11 years ago

[prod] Platform section: Android is listed as a Desktop platform

Categories

(Input Graveyard :: Backend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mbrandt, Unassigned)

References

()

Details

(Whiteboard: [dev][stage][prod][fromAutomation])

Attachments

(1 file)

Android is incorrectly listed in the platform section as a desktop environment.

Steps to reproduce:
1. go to input.mozilla.com
2. select Firefox and --all-- from the product filter
3. look at the platform list

Expected:
Only desktop environments for Firefox should be listed in the platform list.

Actual:
Android is listed as a desktop platform.

From automation:

self = <tests.desktop.test_feedback_
layout.Test_Feedback_Layout instance at 0x212d4b8>
mozwebqa = <mozwebqa.mozwebqa.TestSetup instance at 0x213dda0>

   @pytest.mark.nondestructive
   def test_the_left_panel_layout(self, mozwebqa):
       """This testcase covers # 13595 & 13600 in Litmus.

           Litmus 13595 - input:Verify the layout of the left hand side section containing various filtering options
           Litmus 13600 - input:Verify the applications drop down in Product

           """
       feedback_pg = FeedbackPage(mozwebqa)
       feedback_pg.go_to_feedback_page()

       Assert.equal(feedback_pg.product_filter.selected_product, 'firefox')
       Assert.equal(feedback_pg.product_filter.selected_version, '7.0')
       Assert.false(feedback_pg.date_filter.is_date_filter_applied)

       Assert.false(feedback_pg.date_filter.is_custom_date_filter_visible)

       feedback_pg.date_filter.click_custom_dates()

       Assert.greater(len(feedback_pg.platform_filter.platforms), 0)
       Assert.equal(feedback_pg.product_filter.products, ['firefox', 'mobile'])
       feedback_pg.product_filter.select_version('--')
       types = [type.name for type in feedback_pg.type_filter.types]
       Assert.equal(types, ['Praise', 'Issues', 'Ideas'])

       platforms = [platform.name for platform in feedback_pg.platform_filter.platforms]
>       Assert.equal(platforms, ['Windows 7', 'Windows XP', 'Windows Vista', 'Mac OS X', 'Linux'])

first = [u'Windows 7', u'Windows XP', u'Windows Vista', u'Mac OS X', u'Linux', u'Android']
second = ['Windows 7', 'Windows XP', 'Windows Vista', 'Mac OS X', 'Linux']

tests/desktop/test_feedback_layout.py:121:
Looks like this one is fixed. Let me know if you can reproduce.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Product: Input → Input Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: