Uploaded image for project: 'onedata'
  1. onedata
  2. VFS-10870

Acceptance tests: check if option in menu is disabled instead of checking if user cannot click this option

XMLWordPrintable

      • Icon: Task Task
      • Resolution: Fixed
      • Icon: Minor Minor
      • None
      • None
      • None
      • None
      • Sprint 235
      • 4

        @wt(parsers.parse('user of {browser_id} cannot click "{option}" option '
        {{ 'in data row menu in {which_browser}'))}}
        @repeat_failed(timeout=WAIT_FRONTEND)
        def assert_not_click_option_in_data_row_menu(selenium, browser_id, option,
        {{ which_browser, popups):}}
           err_msg = f'user can click on option {option}'
           menu = _choose_menu(selenium, browser_id, which_browser, popups)
           assert not menu.choose_option(option), err_msg

         

        instead of using this step check if option is disabled (using this function assert_element_disabled_or_enabled_in_data_row_menu from https://git.onedata.org/projects/VFS/repos/onedata-acceptance/pull-requests/661/diff#tests/gui/steps/oneprovider/browser.py may be a good idea)

                  ksuch999 Katarzyna Such
                  ksuch999 Katarzyna Such
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Created:
                    Updated:
                    Resolved: