MinervaNeue/tests/selenium/features/notification.feature
jdlrobson c16c20a394 QA: Port Notifications browser test to Node.js
Uncover a bug and fix it in the process \o/ - it seems that the
close icon is misplaced between clicking the notifications icon
and loading the contents of the overlay - this confuses the webdriver
as the button is not clickable.

Bug: T219920
Change-Id: Ib4d076fd9b7ea1cd48b6b58940a50560eacd51a0
2019-04-11 13:26:39 -07:00

17 lines
649 B
Gherkin

@chrome @en.m.wikipedia.beta.wmflabs.org @extension-echo @firefox @test2.m.wikipedia.org @vagrant @login
Feature: Notification
Background:
Given I am logged into the mobile website
And I have no notifications
When I click on the notification icon
Then I should see the notifications overlay
Scenario: Closing notifications (overlay button)
When I click the notifications overlay close button
Then after 1 seconds I should not see the notifications overlay
Scenario: Closing notifications (browser button)
When I click the browser back button
Then after 1 seconds I should not see the notifications overlay