All Scenarios

366

Passed Scenarios

366

Failed Scenarios

0
As a site visitor
I want every section the Horizon Aid template ships to load without errors
So that the site is usable the moment the recipe is installed.

@check @regression @local @development @staging @production @navigation
Scenario Outline:The home page renders for an anonymous visitor
6

Given I am an anonymous user 8s 651ms

When I go to "/home" 674ms

And I wait until the page is loaded 4ms

Then I should see "Education" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @regression @local @development @staging @production @navigation
Scenario Outline:The about page renders for an anonymous visitor
6

Given I am an anonymous user 1s 25ms

When I go to "/about" 1s 369ms

And I wait until the page is loaded 3ms

Then I should see "About" 4ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 2ms

@check @regression @local @development @staging @production @navigation
Scenario Outline:The resources page renders for an anonymous visitor
6

Given I am an anonymous user 684ms

When I go to "/resources" 1s 533ms

And I wait until the page is loaded 3ms

Then I should see "Resources" 4ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 2ms

@check @regression @local @development @staging @production @navigation
Scenario Outline:The programs page renders for an anonymous visitor
6

Given I am an anonymous user 688ms

When I go to "/programs" 1s 384ms

And I wait until the page is loaded 3ms

Then I should see "Our Programs" 4ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 2ms

@check @regression @local @development @staging @production @navigation
Scenario Outline:The events page renders for an anonymous visitor
6

Given I am an anonymous user 696ms

When I go to "/events" 1s 319ms

And I wait until the page is loaded 3ms

Then I should see "Events" 4ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 2ms

@check @regression @local @development @staging @production @navigation
Scenario Outline:The countries page renders for an anonymous visitor
6

Given I am an anonymous user 689ms

When I go to "/countries" 10s 482ms

And I wait until the page is loaded 4ms

Then I should see "Countries" 5ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 3ms

@check @regression @local @development @staging @production @navigation
Scenario Outline:The donate page renders for an anonymous visitor
6

Given I am an anonymous user 690ms

When I go to "/donate" 792ms

And I wait until the page is loaded 3ms

Then I should see "Donate" 2ms

And I should not see "The website encountered an unexpected error" 2ms

And I should not see "Page not found" 1ms

@check @smoke @fast @local @development @staging @production @navigation
Scenario:The site front page is the Horizon Aid home page
6

Given I am an anonymous user 686ms

When I go to "/" 652ms

And I wait until the page is loaded 3ms

Then I should not see "The website encountered an unexpected error" 3ms

And "header[role='banner']" should be visible 2ms

And "footer" should be visible 1ms

As a site visitor
I want the main navigation and footer to name and reach every section
So that I can move around the site without guessing at URLs.

@check @smoke @fast @local @development @staging @production @navigation
Scenario Outline:The main navigation links to the About section
4

Given I am an anonymous user 686ms

When I go to "/" 654ms

And I wait until the page is loaded 4ms

Then the link "About" with the href "/about" within the element "header[role='banner']" should exist 2ms

@check @smoke @fast @local @development @staging @production @navigation
Scenario Outline:The main navigation links to the Resources section
4

Given I am an anonymous user 687ms

When I go to "/" 655ms

And I wait until the page is loaded 4ms

Then the link "Resources" with the href "/resources" within the element "header[role='banner']" should exist 2ms

@check @smoke @fast @local @development @staging @production @navigation
Scenario Outline:The main navigation links to the Programs section
4

Given I am an anonymous user 687ms

When I go to "/" 656ms

And I wait until the page is loaded 3ms

Then the link "Programs" with the href "/programs" within the element "header[role='banner']" should exist 2ms

@check @smoke @fast @local @development @staging @production @navigation
Scenario Outline:The main navigation links to the Events section
4

Given I am an anonymous user 685ms

When I go to "/" 651ms

And I wait until the page is loaded 3ms

Then the link "Events" with the href "/events" within the element "header[role='banner']" should exist 2ms

@check @smoke @fast @local @development @staging @production @navigation
Scenario Outline:The main navigation links to the Countries section
4

Given I am an anonymous user 690ms

When I go to "/" 654ms

And I wait until the page is loaded 3ms

Then the link "Countries" with the href "/countries" within the element "header[role='banner']" should exist 2ms

@check @smoke @fast @local @development @staging @production @navigation
Scenario Outline:The main navigation links to the Donate section
4

Given I am an anonymous user 689ms

When I go to "/" 654ms

And I wait until the page is loaded 3ms

Then the link "Donate" with the href "/donate" within the element "header[role='banner']" should exist 1ms

@check @smoke @fast @local @development @staging @production @navigation
Scenario:The main navigation is the same on an interior page
6

Given I am an anonymous user 684ms

When I go to "/about" 664ms

And I wait until the page is loaded 3ms

Then the link "Programs" with the href "/programs" within the element "header[role='banner']" should exist 2ms

And the link "Events" with the href "/events" within the element "header[role='banner']" should exist 1ms

And the link "Donate" with the href "/donate" within the element "header[role='banner']" should exist 1ms

@check @regression @fast @local @development @staging @production @navigation
Scenario:The footer links the organization's social profiles
7

Given I am an anonymous user 688ms

When I go to "/" 652ms

And I wait until the page is loaded 5ms

Then the "Linkedin" link should be visible 6ms

And the "Facebook" link should be visible 2ms

And the "Instagram" link should be visible 2ms

And the "X-Twitter" link should be visible 2ms

As a site visitor on a phone
I want the main navigation and the listings to work at a small viewport
So that I can reach every section without a desktop browser.

@check @critical @exploratory @fast @local @development @staging @production @navigation
Scenario:Check the main menu sits behind a navigation toggle on a phone
6

Given I am an anonymous user 688ms

When I set the viewport to the "xs" breakpoint 11ms

And I go to "/" 695ms

And I wait until the page is loaded 3ms

Then "header[role='banner'] button.navbar-toggler" should be visible 1ms

And "header[role='banner'] .navbar-collapse" should not be visible 1ms

@check @critical @exploratory @fast @local @development @staging @production @navigation
Scenario:Verify the navigation toggle opens the main menu on a phone
10

Given I am an anonymous user 686ms

When I set the viewport to the "xs" breakpoint 13ms

And I go to "/" 643ms

And I wait until the page is loaded 2ms

Then "header[role='banner'] .navbar-collapse" should not be visible 1ms

When I click on the element "header[role='banner'] button.navbar-toggler" 1s 828ms

Then "header[role='banner'] .navbar-collapse" should be visible within 5 seconds 1ms

And I should see "Countries" 5ms

And I should see "Programs" 4ms

And I should see "Donate" 2ms

@check @critical @regression @fast @local @development @staging @production @navigation
Scenario:Check the main menu is laid out and needs no toggle on a desktop
7

Given I am an anonymous user 688ms

When I set the viewport to the "xl" breakpoint 7ms

And I go to "/" 772ms

And I wait until the page is loaded 3ms

Then "header[role='banner'] .navbar-collapse" should be visible 2ms

And "header[role='banner'] button.navbar-toggler" should not be visible 1ms

And I should see "Countries" 5ms

@check @exploratory @fast @local @development @navigation
Scenario Outline:Check the Countries listing renders its content on a phone
6

Given I am an anonymous user 687ms

When I set the viewport to the "xs" breakpoint 13ms

And I go to "/countries" 731ms

And I wait until the page is loaded 4ms

Then I should see "Afghanistan" 5ms

And I should not see "The website encountered an unexpected error" 4ms

@check @exploratory @fast @local @development @navigation
Scenario Outline:Check the Programs listing renders its content on a phone
6

Given I am an anonymous user 688ms

When I set the viewport to the "xs" breakpoint 13ms

And I go to "/programs" 659ms

And I wait until the page is loaded 3ms

Then I should see "Education" 3ms

And I should not see "The website encountered an unexpected error" 2ms

@check @exploratory @fast @local @development @navigation
Scenario Outline:Check the Resources listing renders its content on a phone
6

Given I am an anonymous user 691ms

When I set the viewport to the "xs" breakpoint 13ms

And I go to "/resources" 852ms

And I wait until the page is loaded 3ms

Then I should see "Resources" 4ms

And I should not see "The website encountered an unexpected error" 3ms

@check @exploratory @fast @local @development @navigation
Scenario Outline:Check the Events listing renders its content on a phone
6

Given I am an anonymous user 686ms

When I set the viewport to the "xs" breakpoint 13ms

And I go to "/events" 695ms

And I wait until the page is loaded 2ms

Then I should see "Events" 3ms

And I should not see "The website encountered an unexpected error" 2ms

@check @exploratory @fast @local @development @staging @production @navigation
Scenario:Check a country page keeps its breadcrumb trail on a phone
6

Given I am an anonymous user 688ms

When I set the viewport to the "xs" breakpoint 13ms

And I go to "/countries/afghanistan" 1s 380ms

And I wait until the page is loaded 3ms

Then "nav[aria-label='breadcrumb']" should be visible 1ms

And I should see "Afghanistan" 4ms

As a site visitor
I want the Countries page to name every country Horizon Aid works in and to
reach each country's own page
So that I can get to the country I care about without guessing at URLs.

@check @critical @acceptance @local @development @staging @production @countries
Scenario:Check the countries listing renders its hero, its section and the countries view
11

Given I am an anonymous user 8s 970ms

When I go to "/countries" 11s 15ms

And I wait until the page is loaded 10s 9ms

Then the page should have a main landmark 3ms

And "h1" should have text "Where We Work" within 10 seconds 3ms

And I should see "See All Countries" 7ms

And "main .view-countries" should be visible within 10 seconds 2ms

And I should see "Afghanistan" 5ms

And I should see "Yemen" 5ms

And the link "View Country" with the href "/countries/afghanistan" within the element "main .view-countries" should exist 2ms

And I should not see "The website encountered an unexpected error" 4ms

Given I am an anonymous user 1s 47ms

When I go to "/countries?search=afghanistan" 10s 123ms

And I wait until the page is loaded 10s 11ms

Then the link "View Country" with the href "/countries/afghanistan" within the element "main .view-countries" should exist 3ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 2ms

Given I am an anonymous user 720ms

When I go to "/countries?search=bangladesh" 10s 146ms

And I wait until the page is loaded 10s 11ms

Then the link "View Country" with the href "/countries/bangladesh" within the element "main .view-countries" should exist 2ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 2ms

Given I am an anonymous user 731ms

When I go to "/countries?search=colombia" 10s 144ms

And I wait until the page is loaded 10s 2ms

Then the link "View Country" with the href "/countries/colombia" within the element "main .view-countries" should exist 3ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 2ms

Given I am an anonymous user 728ms

When I go to "/countries?search=ecuador" 10s 174ms

And I wait until the page is loaded 10s 3ms

Then the link "View Country" with the href "/countries/ecuador" within the element "main .view-countries" should exist 4ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 2ms

Given I am an anonymous user 757ms

When I go to "/countries?search=kenya" 10s 214ms

And I wait until the page is loaded 9ms

Then the link "View Country" with the href "/countries/kenya" within the element "main .view-countries" should exist 3ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 3ms

Given I am an anonymous user 746ms

When I go to "/countries?search=lebanon" 10s 212ms

And I wait until the page is loaded 10s 7ms

Then the link "View Country" with the href "/countries/lebanon" within the element "main .view-countries" should exist 4ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 2ms

Given I am an anonymous user 732ms

When I go to "/countries?search=myanmar" 8s 740ms

And I wait until the page is loaded 10ms

Then the link "View Country" with the href "/countries/myanmar" within the element "main .view-countries" should exist 3ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 2ms

Given I am an anonymous user 746ms

When I go to "/countries?search=somalia" 10s 221ms

And I wait until the page is loaded 10s 1ms

Then the link "View Country" with the href "/countries/somalia" within the element "main .view-countries" should exist 3ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 2ms

Given I am an anonymous user 738ms

When I go to "/countries?search=south+sudan" 10s 193ms

And I wait until the page is loaded 10s 10ms

Then the link "View Country" with the href "/countries/south-sudan" within the element "main .view-countries" should exist 2ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 1ms

Given I am an anonymous user 725ms

When I go to "/countries?search=syria" 10s 177ms

And I wait until the page is loaded 6ms

Then the link "View Country" with the href "/countries/syria" within the element "main .view-countries" should exist 2ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 1ms

Given I am an anonymous user 729ms

When I go to "/countries?search=ukraine" 10s 147ms

And I wait until the page is loaded 10s 1ms

Then the link "View Country" with the href "/countries/ukraine" within the element "main .view-countries" should exist 2ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 1ms

Given I am an anonymous user 722ms

When I go to "/countries?search=yemen" 10s 164ms

And I wait until the page is loaded 10s 11ms

Then the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should exist 2ms

And the link "View Country" with the href "/countries/afghanistan" within the element "main .view-countries" should not exist 1ms

@check @regression @local @development @countries
Scenario:Verify the countries listing is ordered by country name
4

Given I am an anonymous user 732ms

When I go to "/countries" 9s 937ms

And I wait until the page is loaded 10s 9ms

Then the element "main .view-countries a[href='/countries/yemen']" should appear after the element "main .view-countries a[href='/countries/afghanistan']" 10ms

@check @acceptance @local @development @countries
Scenario:Check a country card opens the country page it names
8

Given I am an anonymous user 726ms

When I go to "/countries?search=south+sudan" 9s 930ms

And I wait until the page is loaded 10s 7ms

When I click on the element "main .view-countries a[href='/countries/south-sudan']" 1s 927ms

And I wait until the page is loaded 5ms

Then the path should be "/countries/south-sudan" < 1ms

And "h1" should have text "South Sudan" within 10 seconds 2ms

And I should see "Our Role" 5ms

As a site visitor
I want a country page to set out our role, the work on the ground, the
figures behind it and the partners doing it
So that I can understand what Horizon Aid actually does in that country.

@check @critical @acceptance @fast @local @development @staging @production @countries
Scenario:Check a country page renders every section of the country template
11

Given I am an anonymous user 734ms

When I go to "/countries/kenya" 1s 417ms

And I wait until the page is loaded 5ms

Then the page should have a main landmark 2ms

And "h1" should have text "Kenya" within 10 seconds 1ms

And I should see "Our Role" 5ms

And I should see "On the Ground" 3ms

And I should see "By the Numbers" 3ms

And I should see "Key Country Partners" 3ms

And "main img" should be visible within 10 seconds 2ms

And I should not see "The website encountered an unexpected error" 4ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Afghanistan country page renders under its own alias
7

Given I am an anonymous user 726ms

When I go to "/countries/afghanistan" 1s 222ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Afghanistan" within 10 seconds 2ms

And I should see "Our Role" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Bangladesh country page renders under its own alias
7

Given I am an anonymous user 717ms

When I go to "/countries/bangladesh" 1s 233ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Bangladesh" within 10 seconds 2ms

And I should see "Our Role" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Colombia country page renders under its own alias
7

Given I am an anonymous user 729ms

When I go to "/countries/colombia" 1s 166ms

And I wait until the page is loaded 6ms

Then "h1" should have text "Colombia" within 10 seconds 1ms

And I should see "Our Role" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Ecuador country page renders under its own alias
7

Given I am an anonymous user 719ms

When I go to "/countries/ecuador" 1s 251ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Ecuador" within 10 seconds 1ms

And I should see "Our Role" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Kenya country page renders under its own alias
7

Given I am an anonymous user 719ms

When I go to "/countries/kenya" 687ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Kenya" within 10 seconds 3ms

And I should see "Our Role" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Lebanon country page renders under its own alias
7

Given I am an anonymous user 719ms

When I go to "/countries/lebanon" 1s 252ms

And I wait until the page is loaded 4ms

Then "h1" should have text "Lebanon" within 10 seconds 1ms

And I should see "Our Role" 8ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Myanmar country page renders under its own alias
7

Given I am an anonymous user 719ms

When I go to "/countries/myanmar" 1s 251ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Myanmar" within 10 seconds 2ms

And I should see "Our Role" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Somalia country page renders under its own alias
7

Given I am an anonymous user 719ms

When I go to "/countries/somalia" 1s 351ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Somalia" within 10 seconds 2ms

And I should see "Our Role" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 4ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the South Sudan country page renders under its own alias
7

Given I am an anonymous user 723ms

When I go to "/countries/south-sudan" 688ms

And I wait until the page is loaded 5ms

Then "h1" should have text "South Sudan" within 10 seconds 2ms

And I should see "Our Role" 8ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 4ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Syria country page renders under its own alias
7

Given I am an anonymous user 720ms

When I go to "/countries/syria" 1s 219ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Syria" within 10 seconds 2ms

And I should see "Our Role" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Ukraine country page renders under its own alias
7

Given I am an anonymous user 717ms

When I go to "/countries/ukraine" 1s 207ms

And I wait until the page is loaded 4ms

Then "h1" should have text "Ukraine" within 10 seconds 1ms

And I should see "Our Role" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Yemen country page renders under its own alias
7

Given I am an anonymous user 722ms

When I go to "/countries/yemen" 1s 129ms

And I wait until the page is loaded 4ms

Then "h1" should have text "Yemen" within 10 seconds 1ms

And I should see "Our Role" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @exploratory @fast @local @development @staging @production @countries
Scenario:Verify a country page links back to the Countries section
5

Given I am an anonymous user 716ms

When I go to "/countries/kenya" 691ms

And I wait until the page is loaded 5ms

Then "nav[aria-label='breadcrumb']" should be visible within 10 seconds 1ms

And "nav[aria-label='breadcrumb'] a[href='/countries']" should have a count of 1 2ms

As a site visitor
I want a country page to point me at the other countries we work in
So that I can keep reading about our work instead of going back to the
listing every time.

@check @critical @acceptance @fast @local @development @staging @production @countries
Scenario:Check a country page closes with the See Other Countries block
6

Given I am an anonymous user 728ms

When I go to "/countries/kenya" 697ms

And I wait until the page is loaded 5ms

Then I should see "See Other Countries" 5ms

And "main .view-countries" should be visible within 10 seconds 2ms

And "main .view-countries a[href^='/countries/']" should be visible within 10 seconds 1ms

Given I am an anonymous user 730ms

When I go to "/countries/afghanistan" 686ms

And I wait until the page is loaded 5ms

Then I should see "See Other Countries" 5ms

And "main .view-countries a[href^='/countries/']" should be visible within 10 seconds 2ms

And the link "View Country" with the href "/countries/afghanistan" within the element "main .view-countries" should not exist 1ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Kenya page offers other countries and not itself
6

Given I am an anonymous user 721ms

When I go to "/countries/kenya" 692ms

And I wait until the page is loaded 7ms

Then I should see "See Other Countries" 5ms

And "main .view-countries a[href^='/countries/']" should be visible within 10 seconds 2ms

And the link "View Country" with the href "/countries/kenya" within the element "main .view-countries" should not exist 1ms

Given I am an anonymous user 723ms

When I go to "/countries/south-sudan" 694ms

And I wait until the page is loaded 4ms

Then I should see "See Other Countries" 5ms

And "main .view-countries a[href^='/countries/']" should be visible within 10 seconds 2ms

And the link "View Country" with the href "/countries/south-sudan" within the element "main .view-countries" should not exist 1ms

@check @regression @fast @local @development @countries
Scenario Outline:Check the Yemen page offers other countries and not itself
6

Given I am an anonymous user 722ms

When I go to "/countries/yemen" 699ms

And I wait until the page is loaded 5ms

Then I should see "See Other Countries" 5ms

And "main .view-countries a[href^='/countries/']" should be visible within 10 seconds 2ms

And the link "View Country" with the href "/countries/yemen" within the element "main .view-countries" should not exist 1ms

@check @acceptance @fast @local @development @countries
Scenario:Check a related country card opens another country page
11

Given I am an anonymous user 721ms

When I go to "/countries/kenya" 689ms

And I wait until the page is loaded 4ms

Then I should see "See Other Countries" 5ms

When I click on the element "main .view-countries a[href^='/countries/']" 695ms

And I wait until the page is loaded 6ms

Then the url should match "/countries/[a-z]" < 1ms

And the path should not be "/countries/kenya" < 1ms

And "h1" should be visible within 10 seconds 2ms

And I should see "Our Role" 5ms

And I should see "Key Country Partners" 3ms

As a supporter deciding what to fund
I want the Our Programs page to name every programme with a way into it
So that I can read up on the work before I give.

@check @critical @acceptance @fast @local @development @staging @production @programs
Scenario:Check the programs listing renders its hero and the programs view
8

Given I am an anonymous user 8s 937ms

When I go to "/programs" 1s 937ms

And I wait until the page is loaded 6ms

Then the page should have a main landmark 2ms

And "h1" should have text "Our Programs" within 10 seconds 2ms

And "main .view-programs" should be visible within 10 seconds 2ms

And "main .view-programs a[href^='/programs/']" should be visible within 10 seconds 2ms

And I should not see "The website encountered an unexpected error" 3ms

@check @regression @fast @local @development @programs
Scenario Outline:Check the programs listing links to the Education programme
5

Given I am an anonymous user 1s 50ms

When I go to "/programs" 686ms

And I wait until the page is loaded 5ms

Then I should see "Education" 6ms

And the link "Learn More" with the href "/programs/education" within the element "main .view-programs" should exist 3ms

@check @regression @fast @local @development @programs
Scenario Outline:Check the programs listing links to the Health programme
5

Given I am an anonymous user 726ms

When I go to "/programs" 707ms

And I wait until the page is loaded 5ms

Then I should see "Health" 5ms

And the link "Learn More" with the href "/programs/health" within the element "main .view-programs" should exist 2ms

@check @regression @fast @local @development @programs
Scenario Outline:Check the programs listing links to the Women programme
5

Given I am an anonymous user 721ms

When I go to "/programs" 718ms

And I wait until the page is loaded 6ms

Then I should see "Women" 5ms

And the link "Learn More" with the href "/programs/women" within the element "main .view-programs" should exist 2ms

@check @regression @fast @local @development @programs
Scenario Outline:Check the programs listing links to the Agriculture programme
5

Given I am an anonymous user 721ms

When I go to "/programs" 698ms

And I wait until the page is loaded 5ms

Then I should see "Agriculture" 5ms

And the link "Learn More" with the href "/programs/agriculture" within the element "main .view-programs" should exist 2ms

@check @regression @fast @local @development @programs
Scenario Outline:Check the programs listing links to the Medicine programme
5

Given I am an anonymous user 724ms

When I go to "/programs" 704ms

And I wait until the page is loaded 5ms

Then I should see "Medicine" 4ms

And the link "Learn More" with the href "/programs/medicine" within the element "main .view-programs" should exist 2ms

Given I am an anonymous user 729ms

When I go to "/programs?search=health" 1s 30ms

And I wait until the page is loaded 4ms

Then the link "Learn More" with the href "/programs/health" within the element "main .view-programs" should exist 2ms

And the link "Learn More" with the href "/programs/education" within the element "main .view-programs" should not exist 1ms

@check @regression @fast @local @development @programs
Scenario:Check the programs listing answers the donation questions
6

Given I am an anonymous user 721ms

When I go to "/programs" 700ms

And I wait until the page is loaded 5ms

Then I should see "FAQ" 5ms

And I should see "How is my donation used?" 7ms

And I should see "Where does Horizon Aid operate?" 3ms

@check @acceptance @fast @local @development @programs
Scenario:Check a programme row opens the programme page it names
8

Given I am an anonymous user 729ms

When I go to "/programs" 721ms

And I wait until the page is loaded 5ms

When I click on the element "main .view-programs a[href='/programs/agriculture']" 2s 111ms

And I wait until the page is loaded 5ms

Then the path should be "/programs/agriculture" < 1ms

And "h1" should have text "Agriculture" within 10 seconds 1ms

And I should see "About This Program" 4ms

As a supporter deciding what to fund
I want a programme page to explain the work, the figures behind it and where
it runs
So that I know what my donation pays for before I give.

@check @critical @acceptance @fast @local @development @staging @production @programs
Scenario:Check a programme page renders the sections of the programme template
12

Given I am an anonymous user 728ms

When I go to "/programs/education" 1s 374ms

And I wait until the page is loaded 7ms

Then the page should have a main landmark 2ms

And "h1" should have text "Education" within 10 seconds 2ms

And I should see "About This Program" 5ms

And I should see "Education by the Numbers" 4ms

And I should see "How We Deliver Education" 4ms

And I should see "Where Education Runs" 4ms

And I should see "Join Our Mission" 4ms

And "main img" should be visible within 10 seconds 2ms

And I should not see "The website encountered an unexpected error" 4ms

Given I am an anonymous user 727ms

When I go to "/programs/education" 694ms

And I wait until the page is loaded 7ms

Then "h1" should have text "Education" within 10 seconds 2ms

And I should see "About This Program" 5ms

And I should see "Education by the Numbers" 4ms

And I should see "How We Deliver Education" 4ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 4ms

@check @regression @fast @local @development @programs
Scenario Outline:Check the Health programme page renders under its own alias
9

Given I am an anonymous user 723ms

When I go to "/programs/health" 1s 294ms

And I wait until the page is loaded 7ms

Then "h1" should have text "Health" within 10 seconds 2ms

And I should see "About This Program" 8ms

And I should see "Health by the Numbers" 3ms

And I should see "How We Deliver Health" 3ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 3ms

@check @regression @fast @local @development @programs
Scenario Outline:Check the Women programme page renders under its own alias
9

Given I am an anonymous user 726ms

When I go to "/programs/women" 1s 283ms

And I wait until the page is loaded 4ms

Then "h1" should have text "Women" within 10 seconds 1ms

And I should see "About This Program" 4ms

And I should see "Rights by the Numbers" 3ms

And I should see "How We Deliver for Women" 3ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 3ms

Given I am an anonymous user 722ms

When I go to "/programs/agriculture" 733ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Agriculture" within 10 seconds 2ms

And I should see "About This Program" 4ms

And I should see "Agriculture by the Numbers" 3ms

And I should see "How We Deliver Agriculture" 3ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 3ms

@check @regression @fast @local @development @programs
Scenario Outline:Check the Medicine programme page renders under its own alias
9

Given I am an anonymous user 719ms

When I go to "/programs/medicine" 1s 308ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Medicine" within 10 seconds 2ms

And I should see "About This Program" 4ms

And I should see "Medicine by the Numbers" 3ms

And I should see "How We Deliver Medicine" 3ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 3ms

Given I am an anonymous user 724ms

When I go to "/programs/education" 744ms

And I wait until the page is loaded 5ms

Then "main .map" should be visible within 10 seconds 2ms

And "main .map svg path[data-iso-a2='AF']" should be visible within 10 seconds 1ms

And the link "Learn More" with the href "/countries/afghanistan" within the element "main .map" should exist 2ms

@check @regression @fast @local @development @programs
Scenario Outline:Check the Health programme page maps the countries it runs in
6

Given I am an anonymous user 728ms

When I go to "/programs/health" 701ms

And I wait until the page is loaded 5ms

Then "main .map" should be visible within 10 seconds 2ms

And "main .map svg path[data-iso-a2='LB']" should be visible within 10 seconds 1ms

And the link "Learn More" with the href "/countries/lebanon" within the element "main .map" should exist 2ms

@check @regression @fast @local @development @programs
Scenario Outline:Check the Women programme page maps the countries it runs in
6

Given I am an anonymous user 722ms

When I go to "/programs/women" 732ms

And I wait until the page is loaded 5ms

Then "main .map" should be visible within 10 seconds 2ms

And "main .map svg path[data-iso-a2='CO']" should be visible within 10 seconds 1ms

And the link "Learn More" with the href "/countries/colombia" within the element "main .map" should exist 2ms

Given I am an anonymous user 720ms

When I go to "/programs/agriculture" 688ms

And I wait until the page is loaded 4ms

Then "main .map" should be visible within 10 seconds 1ms

And "main .map svg path[data-iso-a2='SO']" should be visible within 10 seconds 1ms

And the link "Learn More" with the href "/countries/somalia" within the element "main .map" should exist 1ms

Given I am an anonymous user 718ms

When I go to "/programs/medicine" 689ms

And I wait until the page is loaded 5ms

Then "main .map" should be visible within 10 seconds 1ms

And "main .map svg path[data-iso-a2='UA']" should be visible within 10 seconds 1ms

And the link "Learn More" with the href "/countries/ukraine" within the element "main .map" should exist 2ms

@check @acceptance @fast @local @development @programs
Scenario:Check picking a country on the programme map opens that country page
12

Given I am an anonymous user 724ms

When I go to "/programs/education" 732ms

And I wait until the page is loaded 5ms

Then I should see "Where Education Runs" 4ms

When I click on the element "main .map svg path[data-iso-a2='KE']" 338ms

Then "main .map .map-info-card[data-country-code='KE']" should be visible within 10 seconds 1ms

And "main .map .map-info-card[data-country-code='KE'] a[href='/countries/kenya']" should be visible within 10 seconds 1ms

When I click on the element "main .map .map-info-card[data-country-code='KE'] a[href='/countries/kenya']" 2s 28ms

And I wait until the page is loaded 5ms

Then the path should be "/countries/kenya" < 1ms

And "h1" should have text "Kenya" within 10 seconds 1ms

And I should see "Our Role" 4ms

@check @exploratory @fast @local @development @staging @production @programs
Scenario:Verify a programme page links back to the Programs section
5

Given I am an anonymous user 722ms

When I go to "/programs/education" 737ms

And I wait until the page is loaded 5ms

Then "nav[aria-label='breadcrumb']" should be visible within 10 seconds 2ms

And "nav[aria-label='breadcrumb'] a[href='/programs']" should have a count of 1 2ms

As a site visitor
I want a Resources listing at /resources with cards and filters
So that I can browse the stories, reports and briefs Horizon Aid publishes.

Given I am an anonymous user 9s 2ms

When I go to "/resources" 2s 299ms

And I wait until the page is loaded 8ms

Then "h1" should have text "Resources" 3ms

And I should see "Latest Updates" 7ms

And I should see "Clinic networks in dense settlements" 6ms

And I should see "Community-led reconstruction" 5ms

And I should see "Winterisation reaches frontline households" 4ms

And I should not see "The website encountered an unexpected error" 4ms

@check @regression @fast @local @development @resources
Scenario:Verify every resource card links to the article it names
6

Given I am an anonymous user 1s 70ms

When I go to "/resources" 700ms

And I wait until the page is loaded 7ms

Then "a[href='/resources/clinic-networks-dense-settlements']" should be attached within 10 seconds 3ms

And "a[href='/resources/community-led-reconstruction']" should be attached 1ms

And "a[href='/resources/winterisation-reaches-frontline-households']" should be attached 1ms

@check @smoke @fast @local @development @staging @production @resources
Scenario:Check the resources listing summarises the page it shows and offers a pager
5

Given I am an anonymous user 722ms

When I go to "/resources" 711ms

And I wait until the page is loaded 6ms

Then I should see text matching "Showing 1-12 of \d+" 2ms

And I see visible pagination 3ms

@check @regression @fast @local @development @staging @production @resources
Scenario:Check the resources listing exposes the keyword, Program and Type filters
10

Given I am an anonymous user 728ms

When I go to "/resources" 699ms

And I wait until the page is loaded 5ms

Then I see visible exposed filters form 2ms

And I should see "Search Keyword" 5ms

And I should see "Program" 3ms

And I should see "Type" 3ms

And I should see "Search Program" 3ms

And I should see "Select type" 8ms

And the "Apply Filters" button should be visible 6ms

@check @regression @fast @local @development @staging @production @resources
Scenario:Verify the keyword field is labelled and prompts the visitor
5

Given I am an anonymous user 726ms

When I go to "/resources" 697ms

And I wait until the page is loaded 6ms

Then "input[name='search']" should be editable 3ms

And "input[name='search']" should have attribute "placeholder" with value "Search keywords" 2ms

@check @regression @fast @a11y @local @development @staging @production @resources
Scenario:Check the resources listing carries its landmarks and a single first-level heading
7

Given I am an anonymous user 726ms

When I go to "/resources" 705ms

And I wait until the page is loaded 5ms

Then the page should have a main landmark 2ms

And the page should have a navigation landmark 1ms

And the page should have exactly one h1 1ms

And the link "Resources" with the href "/resources" should exist 2ms

As a site visitor
I want a resource article page with its story, share actions and related reading
So that I can read the work Horizon Aid published and find more of it.

@check @acceptance @local @development @staging @production @resources
Scenario:Check a resource article renders its title, body sections and image
11

Given I am an anonymous user 726ms

When I warm up "/resources/clinic-networks-dense-settlements" at all testing breakpoints 13s 692ms

And I go to "/resources/clinic-networks-dense-settlements" 674ms

And I wait until the page is loaded 5ms

Then the page should have a main landmark 2ms

And the page should have exactly one h1 1ms

And "h1" should have text "Clinic networks in dense settlements" 2ms

And I should see "Introduction" 4ms

And I should see "The problem, before the work started" 3ms

And I should see "What comes next" 3ms

And "main img" should be visible within 10 seconds 2ms

@check @regression @fast @local @development @staging @production @resources
Scenario:Check a resource article offers the configured share actions
8

Given I am an anonymous user 729ms

When I go to "/resources/clinic-networks-dense-settlements" 692ms

And I wait until the page is loaded 5ms

Then I should see "Share" 4ms

And the "Share on Facebook (opens in a new tab)" link should be visible 7ms

And the "Share on LinkedIn (opens in a new tab)" link should be visible 3ms

And the "Share on X (opens in a new tab)" link should be visible 2ms

And the "Share on Instagram (opens in a new tab)" link should be visible 2ms

@check @regression @fast @local @development @staging @production @resources
Scenario:Verify a resource article leads back to Resources and on to related reading
8

Given I am an anonymous user 731ms

When I go to "/resources/clinic-networks-dense-settlements" 707ms

And I wait until the page is loaded 5ms

Then "Home" should be in the breadcrumb 1ms

And "Resources" should be in the breadcrumb 1ms

And the link "Resources" with the href "/resources" should exist 2ms

And I should see "Latest News" 5ms

And I should see "Join Our Mission" 3ms

@check @smoke @fast @local @development @staging @production @resources
Scenario Outline:Check the Clinic networks in dense settlements article renders for an anonymous visitor
7

Given I am an anonymous user 729ms

When I go to "/resources/clinic-networks-dense-settlements" 699ms

And I wait until the page is loaded 6ms

Then "h1" should have text "Clinic networks in dense settlements" 2ms

And I should see "Share" 5ms

And I should not see "The website encountered an unexpected error" 4ms

And I should not see "Page not found" 3ms

@check @smoke @fast @local @development @staging @production @resources
Scenario Outline:Check the Community-led reconstruction article renders for an anonymous visitor
7

Given I am an anonymous user 735ms

When I go to "/resources/community-led-reconstruction" 1s 545ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Community-led reconstruction" 2ms

And I should see "Share" 7ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 3ms

Given I am an anonymous user 728ms

When I go to "/resources/winterisation-reaches-frontline-households" 1s 418ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Winterisation reaches frontline households" 2ms

And I should see "Share" 4ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 3ms

@check @smoke @fast @local @development @staging @production @resources
Scenario Outline:Check the Emergency relief in flooded states article renders for an anonymous visitor
7

Given I am an anonymous user 725ms

When I go to "/resources/emergency-relief-flooded-states" 961ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Emergency relief in flooded states" 1ms

And I should see "Share" 5ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 3ms

As a site visitor
I want to narrow the Resources listing with its filters and page through the rest
So that I can find one brief instead of reading through everything published.

Given I am an anonymous user 726ms

When I go to "/resources" 697ms

And I wait until the page is loaded 5ms

Then I should see "School feeding and attendance" 5ms

When I fill in "Search Keyword" with "clinic networks" 316ms

And I click the "Apply Filters" button 1s 828ms

And I wait until the page is loaded 10s 8ms

Then the url should match "search=clinic" < 1ms

And I should see "Clinic networks in dense settlements" 3ms

And I should not see "School feeding and attendance" 3ms

And I should not see "Winter learning continuity" 2ms

Given I am an anonymous user 725ms

When I go to "/resources" 707ms

And I wait until the page is loaded 6ms

When I fill in "Search Keyword" with "telescope" 318ms

And I click the "Apply Filters" button 1s 832ms

And I wait until the page is loaded 10s 8ms

Then I should see "There are no blog posts yet." 3ms

And I should not see "Clinic networks in dense settlements" 2ms

And I should not see "School feeding and attendance" 3ms

And I don't see pagination 1ms

Given I am an anonymous user 726ms

When I go to "/resources" 700ms

And I wait until the page is loaded 6ms

Then I should see "Winter learning continuity" 5ms

When I select "Healthcare & Medicine" from "program" 312ms

And I click the "Apply Filters" button 1s 834ms

And I wait until the page is loaded 10s 1ms

Then the url should match "program=\d+" < 1ms

And I should see "Clinic networks in dense settlements" 4ms

And I should not see "Winter learning continuity" 3ms

And I should not see "School feeding and attendance" 3ms

Given I am an anonymous user 726ms

When I go to "/resources" 712ms

And I wait until the page is loaded 5ms

Then I should see "Clinic networks in dense settlements" 5ms

When I select "Policy brief" from "type" 311ms

And I click the "Apply Filters" button 1s 838ms

And I wait until the page is loaded 10s 6ms

Then I should see "Legal aid hours and where they go" 3ms

And I should not see "Clinic networks in dense settlements" 3ms

@check @acceptance @local @development @resources
Scenario:Verify a keyword and a Program filter apply together
10

Given I am an anonymous user 769ms

When I go to "/resources" 718ms

And I wait until the page is loaded 9ms

And I fill in "Search Keyword" with "clinic" 322ms

And I select "Healthcare & Medicine" from "program" 318ms

And I click the "Apply Filters" button 1s 848ms

And I wait until the page is loaded 10s 7ms

Then the url should match "search=clinic" < 1ms

And I should see "Clinic networks in dense settlements" 5ms

And I should not see "Winterisation reaches frontline households" 4ms

Given I am an anonymous user 743ms

When I go to "/resources" 709ms

And I wait until the page is loaded 6ms

And I click the "Apply Filters" button 1s 830ms

And I wait until the page is loaded 10s 7ms

Then I should see text matching "Showing 1-12 of \d+" 2ms

And I should see "Clinic networks in dense settlements" 9ms

And I should see "School feeding and attendance" 5ms

@check @acceptance @local @development @resources
Scenario:Check paging the resources listing moves the range on
15

Given I am an anonymous user 748ms

When I go to "/resources" 719ms

And I wait until the page is loaded 7ms

Then I see visible pagination 4ms

And I should see text matching "Showing 1-12 of \d+" 2ms

When I click on the link with the title "Go to page 2" 1s 824ms

And I wait until the page is loaded 10s 8ms

Then the url should match "page=1" < 1ms

And I should see text matching "Showing 13-\d+ of \d+" 2ms

And I should not see text matching "Showing 1-12 of" 2ms

When I click on the link with the title "Go to last page" 1s 833ms

And I wait until the page is loaded 10s 1ms

Then I should see text matching "Showing \d+-\d+ of \d+" 1ms

And I should not see text matching "Showing 1-12 of" 1ms

And "a[href='/resources/cultivating-independence-rural-farms']" should be attached within 10 seconds 2ms

Given I am an anonymous user 754ms

When I go to "/resources" 727ms

And I wait until the page is loaded 8ms

And I fill in "Search Keyword" with "clinic networks" 321ms

And I click the "Apply Filters" button 1s 836ms

And I wait until the page is loaded 10s 7ms

Then I should not see "School feeding and attendance" 4ms

When I go to "/resources" 691ms

And I wait until the page is loaded 10ms

Then "input[name='search']" should have value "" 3ms

And I should see "School feeding and attendance" 6ms

And I should see "Clinic networks in dense settlements" 4ms

As a site visitor
I want an Events listing at /events with cards, a summary and filters
So that I can see what Horizon Aid is running and narrow it down.

Given I am an anonymous user 8s 988ms

When I go to "/events" 1s 871ms

And I wait until the page is loaded 11ms

Then "h1" should have text "Events" 4ms

And I should see "Upcoming Events" 6ms

And I should see "Water access in crisis zones" 8ms

And I should see "Impact reporting transparency talk" 4ms

And I should not see "The website encountered an unexpected error" 3ms

@check @regression @fast @local @development @events
Scenario:Verify every event card links to the event it names
6

Given I am an anonymous user 1s 58ms

When I go to "/events" 708ms

And I wait until the page is loaded 5ms

Then "a[href='/events/water-access-crisis-zones']" should be attached within 10 seconds 2ms

And "a[href='/events/impact-reporting-transparency-talk']" should be attached 1ms

And "a[href='/events/annual-fundraising-gala']" should be attached 1ms

@check @smoke @fast @local @development @staging @production @events
Scenario:Check the events listing summarises the page it shows and offers a pager
5

Given I am an anonymous user 725ms

When I go to "/events" 705ms

And I wait until the page is loaded 6ms

Then I should see text matching "Showing 1-9 of \d+" 2ms

And I see visible pagination 3ms

@check @regression @fast @local @development @staging @production @events
Scenario:Check the events listing exposes the keyword, Type and Topic filters
11

Given I am an anonymous user 725ms

When I go to "/events" 710ms

And I wait until the page is loaded 5ms

Then I see visible exposed filters form 2ms

And I should see "Search Keyword" 5ms

And I should see "Type" 3ms

And I should see "Topic" 3ms

And I should see "Select Type" 8ms

And I should see "Search Topic" 3ms

And the "Apply Filters" button should be visible 6ms

And the "Reset" button should be visible 2ms

@check @regression @fast @local @development @staging @production @events
Scenario:Verify the keyword field is labelled and prompts the visitor
5

Given I am an anonymous user 724ms

When I go to "/events" 689ms

And I wait until the page is loaded 5ms

Then "input[name='search']" should be editable 2ms

And "input[name='search']" should have attribute "placeholder" with value "Search Keyword" 2ms

@check @regression @fast @a11y @local @development @staging @production @events
Scenario:Check the events listing carries its landmarks and a single first-level heading
7

Given I am an anonymous user 726ms

When I go to "/events" 696ms

And I wait until the page is loaded 6ms

Then the page should have a main landmark 2ms

And the page should have a navigation landmark 1ms

And the page should have exactly one h1 1ms

And the link "Events" with the href "/events" should exist 2ms

As a site visitor
I want an event page with its date, programme and registration action
So that I know what the event is and how to join it.

Given I am an anonymous user 723ms

When I go to "/events/winterisation-readiness-briefing" 1s 804ms

And I wait until the page is loaded 5ms

Then the page should have a main landmark 1ms

And the page should have exactly one h1 1ms

And "h1" should have text "Winterisation readiness briefing" 3ms

And I should see "Briefing" 4ms

And I should see "24 September 2027" 3ms

And the "Register Today" button should be visible 5ms

And I should see "About this Event" 3ms

And I should see "What You'll Learn" 3ms

And I should see "Speakers" 3ms

@check @regression @fast @local @development @staging @production @events
Scenario:Check an event page offers the configured share actions
8

Given I am an anonymous user 728ms

When I go to "/events/winterisation-readiness-briefing" 583ms

And I wait until the page is loaded 5ms

Then I should see "Share" 4ms

And the "Share on Facebook (opens in a new tab)" link should be visible 6ms

And the "Share on LinkedIn (opens in a new tab)" link should be visible 3ms

And the "Share on X (opens in a new tab)" link should be visible 3ms

And the "Share on Instagram (opens in a new tab)" link should be visible 3ms

@check @regression @fast @local @development @staging @production @events
Scenario:Verify an event page leads back to Events and on to more events
8

Given I am an anonymous user 727ms

When I go to "/events/winterisation-readiness-briefing" 585ms

And I wait until the page is loaded 5ms

Then "Home" should be in the breadcrumb 1ms

And "Events" should be in the breadcrumb < 1ms

And the link "Events" with the href "/events" should exist 2ms

And I should see "More Events" 3ms

And I should see "Join Our Mission" 3ms

@check @regression @fast @local @development @events
Scenario:Verify a related event card points at another event
5

Given I am an anonymous user 730ms

When I go to "/events/winterisation-readiness-briefing" 580ms

And I wait until the page is loaded 5ms

Then I should see "Emergency shelter standards review" 4ms

And "a[href='/events/emergency-shelter-standards-review']" should be attached within 10 seconds 1ms

Given I am an anonymous user 718ms

When I go to "/events/winterisation-readiness-briefing" 582ms

And I wait until the page is loaded 7ms

Then "h1" should have text "Winterisation readiness briefing" 2ms

And I should see "About this Event" 11ms

And I should see "Share" 3ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 3ms

@check @smoke @fast @local @development @staging @production @events
Scenario Outline:Check the Water access in crisis zones event page renders for an anonymous visitor
8

Given I am an anonymous user 731ms

When I go to "/events/water-access-crisis-zones" 1s 180ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Water access in crisis zones" 2ms

And I should see "About this Event" 3ms

And I should see "Share" 6ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 3ms

Given I am an anonymous user 722ms

When I go to "/events/supply-chain-resilience-review" 861ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Supply chain resilience review" 2ms

And I should see "About this Event" 3ms

And I should see "Share" 3ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 2ms

Given I am an anonymous user 722ms

When I go to "/events/impact-reporting-transparency-talk" 1s 115ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Impact reporting transparency talk" 2ms

And I should see "About this Event" 4ms

And I should see "Share" 3ms

And I should not see "The website encountered an unexpected error" 3ms

And I should not see "Page not found" 3ms

As a site visitor
I want to narrow the Events listing with its filters and page through the rest
So that I can find the event I would actually attend.

@check @acceptance @fast @local @development @events
Scenario:Check a keyword typed into the form narrows the events listing
11

Given I am an anonymous user 738ms

When I go to "/events" 697ms

And I wait until the page is loaded 4ms

Then I should see "Digital security for advocacy groups" 5ms

When I fill in "Search Keyword" with "winterisation" 315ms

And I click the "Apply Filters" button 937ms

And I wait until the page is loaded 5ms

Then the url should match "search=winterisation" < 1ms

And I should see "Winterisation readiness briefing" 3ms

And I should not see "Digital security for advocacy groups" 3ms

And I should not see "Annual fundraising gala" 2ms

@check @exploratory @fast @local @development @events
Scenario:Check a keyword that matches nothing empties the events listing
9

Given I am an anonymous user 724ms

When I go to "/events" 685ms

And I wait until the page is loaded 5ms

When I fill in "Search Keyword" with "telescope" 315ms

And I click the "Apply Filters" button 951ms

And I wait until the page is loaded 5ms

Then I should not see "Digital security for advocacy groups" 3ms

And I should not see "Winterisation readiness briefing" 2ms

And I don't see pagination 1ms

@check @acceptance @fast @local @development @events
Scenario:Check choosing a Type narrows the events listing to that format
10

Given I am an anonymous user 724ms

When I go to "/events" 689ms

And I wait until the page is loaded 5ms

Then I should see "Grassroots leadership summit" 5ms

When I select "Briefing" from "event_categories" 313ms

And I click the "Apply Filters" button 927ms

And I wait until the page is loaded 5ms

Then the url should match "event_categories=\d+" < 1ms

And I should see "Winterisation readiness briefing" 4ms

And I should not see "Grassroots leadership summit" 3ms

@check @acceptance @fast @local @development @events
Scenario:Check choosing a Topic narrows the events listing to that sector
10

Given I am an anonymous user 728ms

When I go to "/events" 703ms

And I wait until the page is loaded 5ms

When I select "Health" from "event_topics" 313ms

And I click the "Apply Filters" button 954ms

And I wait until the page is loaded 5ms

Then the url should match "event_topics=\d+" < 1ms

And I should see "Mobile health outreach clinic day" 3ms

And I should not see "Winterisation readiness briefing" 3ms

And I should not see "Grassroots leadership summit" 2ms

@check @acceptance @fast @local @development @events
Scenario:Verify a Type and a Topic filter apply together
10

Given I am an anonymous user 724ms

When I go to "/events" 706ms

And I wait until the page is loaded 5ms

And I select "Briefing" from "event_categories" 312ms

And I select "Shelter" from "event_topics" 311ms

And I click the "Apply Filters" button 927ms

And I wait until the page is loaded 5ms

Then I should see "Winterisation readiness briefing" 3ms

And I should see "Emergency shelter standards review" 2ms

And I should not see "Food security outlook roundtable" 3ms

Given I am an anonymous user 718ms

When I go to "/events" 697ms

And I wait until the page is loaded 5ms

And I fill in "Search Keyword" with "telescope" 315ms

And I click the "Apply Filters" button 691ms

And I wait until the page is loaded 5ms

Then I should not see "Digital security for advocacy groups" 3ms

When I click the "Reset" button 777ms

And I wait until the page is loaded 7ms

Then "input[name='search']" should have value "" 2ms

And I should see "Digital security for advocacy groups" 4ms

And I should see text matching "Showing 1-9 of \d+" 1ms

@check @exploratory @fast @local @development @events
Scenario:Verify applying an empty form leaves the events listing whole
8

Given I am an anonymous user 720ms

When I go to "/events" 704ms

And I wait until the page is loaded 5ms

And I click the "Apply Filters" button 949ms

And I wait until the page is loaded 5ms

Then I should see text matching "Showing 1-9 of \d+" 1ms

And I should see "Digital security for advocacy groups" 4ms

And I should see "Water access in crisis zones" 3ms

Given I am an anonymous user 723ms

When I go to "/events" 703ms

And I wait until the page is loaded 5ms

Then I see visible pagination 2ms

And I should not see "Winterisation readiness briefing" 3ms

When I click on the link with the title "Go to page 2" 930ms

And I wait until the page is loaded 7ms

Then the url should match "page=1" < 1ms

And I should see text matching "Showing 10-\d+ of \d+" 1ms

And I should see "Winterisation readiness briefing" 7ms

And "a[href='/events/winterisation-readiness-briefing']" should be attached within 10 seconds 1ms

And I should not see "Digital security for advocacy groups" 4ms

@check @exploratory @fast @local @development @events
Scenario:Verify paging back returns to the first page of events
11

Given I am an anonymous user 721ms

When I go to "/events" 680ms

And I wait until the page is loaded 5ms

And I click on the link with the title "Go to page 2" 690ms

And I wait until the page is loaded 6ms

Then I should see "Winterisation readiness briefing" 4ms

When I click on the link with the title "Go to previous page" 902ms

And I wait until the page is loaded 5ms

Then I should see text matching "Showing 1-9 of \d+" 1ms

And I should see "Digital security for advocacy groups" 4ms

And I should not see "Winterisation readiness briefing" 3ms

As a donor, partner or grant officer
I want the Our Impact page to state what the organisation has achieved
So that I can judge whether my money reaches people.

@check @critical @acceptance @local @development @staging @production @impact
Scenario:Check the Our Impact page states its title and its transparency promise
8

Given I am an anonymous user 3s 915ms

When I go to "/impact" 10s 851ms

And I wait until the page is loaded 8ms

Then "h1" should contain text "Our Impact" within 10 seconds 3ms

And I should see "We believe in absolute transparency" 5ms

And I should see "we track every dollar" 4ms

And "nav[aria-label='breadcrumb']" should be visible within 10 seconds 3ms

And I should not see "The website encountered an unexpected error" 3ms

@check @critical @acceptance @local @development @staging @production @impact
Scenario Outline:Verify the headline counter for Lives Protected counts up to its published total
5

Given I am an anonymous user 1s 59ms

When I go to "/impact" 8s 396ms

And I wait until the page is loaded 5ms

Then eventually I should see "20K+" within 10 seconds 2ms

And I should see "Lives Protected" 4ms

@check @critical @acceptance @local @development @staging @production @impact
Scenario Outline:Verify the headline counter for Legal Aid Hours counts up to its published total
5

Given I am an anonymous user 726ms

When I go to "/impact" 9s 900ms

And I wait until the page is loaded 10s 11ms

Then eventually I should see "137K+" within 10 seconds 2ms

And I should see "Legal Aid Hours" 4ms

@check @critical @acceptance @local @development @staging @production @impact
Scenario Outline:Verify the headline counter for Communities Served counts up to its published total
5

Given I am an anonymous user 737ms

When I go to "/impact" 9s 906ms

And I wait until the page is loaded 6ms

Then eventually I should see "11K+" within 10 seconds 1ms

And I should see "Communities Served" 4ms

@check @acceptance @local @development @staging @production @impact
Scenario Outline:Verify the Impact by Programme section reports Households farming independently
6

Given I am an anonymous user 725ms

When I go to "/impact" 9s 903ms

And I wait until the page is loaded 7ms

Then "h2" should contain text "Impact by Programme" within 10 seconds 2ms

And eventually I should see "12K" within 10 seconds 2ms

And I should see "Households farming independently" 4ms

Given I am an anonymous user 742ms

When I go to "/impact" 9s 896ms

And I wait until the page is loaded 6ms

Then "h2" should contain text "Impact by Programme" within 10 seconds 2ms

And eventually I should see "8K+" within 10 seconds 2ms

And I should see "Children enrolled in safe learning spaces" 4ms

Given I am an anonymous user 718ms

When I go to "/impact" 9s 902ms

And I wait until the page is loaded 10s 11ms

Then "h2" should contain text "Impact by Programme" within 10 seconds 3ms

And eventually I should see "3.2K" within 10 seconds 2ms

And I should see "Women supported through legal defence" 5ms

@check @acceptance @local @development @staging @production @impact
Scenario Outline:Verify the Impact by Programme section reports Clinics built or rehabilitated
6

Given I am an anonymous user 745ms

When I go to "/impact" 8s 421ms

And I wait until the page is loaded 8ms

Then "h2" should contain text "Impact by Programme" within 10 seconds 3ms

And eventually I should see "58" within 10 seconds 3ms

And I should see "Clinics built or rehabilitated" 5ms

Given I am an anonymous user 746ms

When I go to "/impact" 9s 913ms

And I wait until the page is loaded 10s 10ms

Then "h2" should contain text "Impact by Programme" within 10 seconds 3ms

And eventually I should see "420" within 10 seconds 2ms

And I should see "Tonnes of medical supplies delivered" 5ms

@check @regression @local @development @staging @production @impact
Scenario:Check every impact figure on the page is a bound counter
5

Given I am an anonymous user 756ms

When I go to "/impact" 9s 908ms

And I wait until the page is loaded 10s 8ms

Then "[data-component-id='vartheme_bs5_horizonaid:figure']" should have a count of 8 within 10 seconds 4ms

And "[data-component-id='vartheme_bs5_horizonaid:figure'] [data-count-target]" should have a count of 8 within 10 seconds 3ms

@check @regression @local @development @staging @production @impact
Scenario:Verify the Our Impact page sends the reader on to where the work happens
7

Given I am an anonymous user 748ms

When I go to "/impact" 9s 902ms

And I wait until the page is loaded 12ms

Then the link "See Where We Work" with the href "/countries" should exist 4ms

When I click the "See Where We Work" link 2s 198ms

And I wait until the page is loaded 10s 2ms

Then the path should be "/countries" < 1ms

@check @exploratory @local @development @staging @production @impact
Scenario:Check the impact figures still count up on a phone
7

Given I am an anonymous user 741ms

When I set the viewport to the "xs" breakpoint 19ms

And I go to "/impact" 9s 895ms

And I wait until the page is loaded 10s 10ms

Then "h1" should contain text "Our Impact" within 10 seconds 2ms

And eventually I should see "20K+" within 10 seconds 1ms

And I should see "Lives Protected" 3ms

As a visitor who has decided to give
I want the Donate call to action to be reachable from anywhere and to land on a real page
So that my intent to donate is never lost.

@check @critical @acceptance @slow @local @development @staging @production @donate
Scenario:Check the Donate page renders its heading and its invitation
9

Given I am an anonymous user 724ms

When I go to "/donate" 1s 624ms

And I wait until the page is loaded 5ms

Then I should see "Donate" in the "main" element 30s 6ms

And I should see "For over two decades" 2ms

And I should see "communities too often overlooked" 2ms

And "nav[aria-label='breadcrumb']" should be visible within 10 seconds 1ms

And I should not see "The website encountered an unexpected error" 2ms

And I should not see "Page not found" 2ms

@check @critical @acceptance @slow @local @development @staging @production @donate
Scenario:Verify the header donate call to action takes a visitor to the Donate page
8

Given I am an anonymous user 730ms

When I go to "/impact" 9s 893ms

And I wait until the page is loaded 10s 10ms

Then the link "Donate" with the href "/donate" within the element "header[role='banner']" should exist 2ms

When I click on the element "header[role='banner'] a.nav-link--cta" 685ms

And I wait until the page is loaded 5ms

Then the path should be "/donate" < 1ms

And I should see "Donate" in the "main" element 30s 7ms

@check @regression @local @development @staging @production @donate
Scenario Outline:Check the donate call to action is in the header on the home page
4

Given I am an anonymous user 725ms

When I go to "/" 672ms

And I wait until the page is loaded 5ms

Then the link "Donate" with the href "/donate" within the element "header[role='banner']" should exist 2ms

@check @regression @local @development @staging @production @donate
Scenario Outline:Check the donate call to action is in the header on the about page
4

Given I am an anonymous user 727ms

When I go to "/about" 1s 872ms

And I wait until the page is loaded 5ms

Then the link "Donate" with the href "/donate" within the element "header[role='banner']" should exist 2ms

@check @regression @local @development @staging @production @donate
Scenario Outline:Check the donate call to action is in the header on the countries page
4

Given I am an anonymous user 723ms

When I go to "/countries" 9s 935ms

And I wait until the page is loaded 10s 10ms

Then the link "Donate" with the href "/donate" within the element "header[role='banner']" should exist 2ms

@check @regression @local @development @staging @production @donate
Scenario Outline:Check the donate call to action is in the header on the programs page
4

Given I am an anonymous user 722ms

When I go to "/programs" 1s 791ms

And I wait until the page is loaded 5ms

Then the link "Donate" with the href "/donate" within the element "header[role='banner']" should exist 2ms

@check @regression @local @development @staging @production @donate
Scenario Outline:Check the donate call to action is in the header on the resources page
4

Given I am an anonymous user 719ms

When I go to "/resources" 1s 923ms

And I wait until the page is loaded 5ms

Then the link "Donate" with the href "/donate" within the element "header[role='banner']" should exist 2ms

@check @regression @local @development @staging @production @donate
Scenario Outline:Check the donate call to action is in the header on the events page
4

Given I am an anonymous user 720ms

When I go to "/events" 963ms

And I wait until the page is loaded 4ms

Then the link "Donate" with the href "/donate" within the element "header[role='banner']" should exist 2ms

@check @regression @local @development @staging @production @donate
Scenario Outline:Check the donate call to action is in the header on the impact page
4

Given I am an anonymous user 721ms

When I go to "/impact" 9s 899ms

And I wait until the page is loaded 10s 11ms

Then the link "Donate" with the href "/donate" within the element "header[role='banner']" should exist 2ms

@check @regression @fast @local @development @staging @production @donate
Scenario:Check the Donate page banner image renders with alternative text
5

Given I am an anonymous user 726ms

When I go to "/donate" 692ms

And I wait until the page is loaded 4ms

Then "main img" should be visible within 10 seconds 1ms

And every image should have an alt attribute 1ms

@check @exploratory @slow @local @development @staging @production @donate
Scenario:Verify the donate call to action survives the collapsed navigation on a phone
9

Given I am an anonymous user 721ms

When I set the viewport to the "xs" breakpoint 16ms

And I go to "/" 752ms

And I wait until the page is loaded 5ms

Then the link "Donate" with the href "/donate" within the element "header[role='banner']" should exist 2ms

When I go to "/donate" 778ms

And I wait until the page is loaded 5ms

Then I should see "Donate" in the "main" element 30s 8ms

And I should see "For over two decades" 3ms

As a visitor using assistive technology
I want every Horizon Aid page to be perceivable and operable
So that a disability never stands between me and the aid information I came for.

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Home page has no critical or serious accessibility violations
5

Given I am an anonymous user 8s 472ms

When I go to "/" 665ms

And I wait until the page is loaded 5ms

Then the page should have no critical accessibility violations 1s 552ms

And the page should have no serious accessibility violations 1s 280ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the About page has no critical or serious accessibility violations
5

Given I am an anonymous user 1s 55ms

When I go to "/about" 1s 522ms

And I wait until the page is loaded 4ms

Then the page should have no critical accessibility violations 1s 334ms

And the page should have no serious accessibility violations 1s 227ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Programs page has no critical or serious accessibility violations
5

Given I am an anonymous user 697ms

When I go to "/programs" 1s 817ms

And I wait until the page is loaded 3ms

Then the page should have no critical accessibility violations 1s 159ms

And the page should have no serious accessibility violations 1s 84ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Donate page has no critical or serious accessibility violations
5

Given I am an anonymous user 696ms

When I go to "/donate" 1s 320ms

And I wait until the page is loaded 3ms

Then the page should have no critical accessibility violations 958ms

And the page should have no serious accessibility violations 841ms

@check @a11y @regression @slow @local @development @staging @production
Scenario:Verify the Our Impact headline figures are readable against their background
9

Given I am an anonymous user 699ms

When I go to "/impact" 10s 413ms

And I wait until the page is loaded 9ms

Then the page should have no critical accessibility violations 1s 569ms

And the page should pass the accessibility rules "image-alt, input-image-alt" 1s 443ms

And the page should pass the accessibility rules "label, form-field-multiple-labels" 1s 432ms

And the page should pass the accessibility rules "button-name, link-name" 1s 289ms

And the page should pass the accessibility rules "aria-valid-attr, aria-valid-attr-value, aria-roles" 1s 370ms

And the page should not violate the accessibility rule "color-contrast" 1s 387ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Home page keeps its text readable and its controls named
8

Given I am an anonymous user 760ms

When I go to "/" 691ms

And I wait until the page is loaded 4ms

Then the page should pass the accessibility rules "color-contrast" 1s 503ms

And the page should pass the accessibility rules "image-alt, input-image-alt" 1s 315ms

And the page should pass the accessibility rules "label, form-field-multiple-labels" 1s 304ms

And the page should pass the accessibility rules "button-name, link-name" 1s 275ms

And the page should pass the accessibility rules "aria-valid-attr, aria-valid-attr-value, aria-roles" 1s 271ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the About page keeps its text readable and its controls named
8

Given I am an anonymous user 693ms

When I go to "/about" 667ms

And I wait until the page is loaded 5ms

Then the page should pass the accessibility rules "color-contrast" 1s 337ms

And the page should pass the accessibility rules "image-alt, input-image-alt" 1s 190ms

And the page should pass the accessibility rules "label, form-field-multiple-labels" 1s 201ms

And the page should pass the accessibility rules "button-name, link-name" 1s 195ms

And the page should pass the accessibility rules "aria-valid-attr, aria-valid-attr-value, aria-roles" 1s 183ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Programs page keeps its text readable and its controls named
8

Given I am an anonymous user 690ms

When I go to "/programs" 675ms

And I wait until the page is loaded 5ms

Then the page should pass the accessibility rules "color-contrast" 1s 183ms

And the page should pass the accessibility rules "image-alt, input-image-alt" 1s 75ms

And the page should pass the accessibility rules "label, form-field-multiple-labels" 1s 47ms

And the page should pass the accessibility rules "button-name, link-name" 1s 75ms

And the page should pass the accessibility rules "aria-valid-attr, aria-valid-attr-value, aria-roles" 1s 75ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Resources page keeps its text readable and its controls named
8

Given I am an anonymous user 693ms

When I go to "/resources" 1s 646ms

And I wait until the page is loaded 3ms

Then the page should pass the accessibility rules "color-contrast" 1s 412ms

And the page should pass the accessibility rules "image-alt, input-image-alt" 1s 275ms

And the page should pass the accessibility rules "label, form-field-multiple-labels" 1s 278ms

And the page should pass the accessibility rules "button-name, link-name" 1s 276ms

And the page should pass the accessibility rules "aria-valid-attr, aria-valid-attr-value, aria-roles" 1s 272ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Events page keeps its text readable and its controls named
8

Given I am an anonymous user 694ms

When I go to "/events" 859ms

And I wait until the page is loaded 3ms

Then the page should pass the accessibility rules "color-contrast" 1s 281ms

And the page should pass the accessibility rules "image-alt, input-image-alt" 1s 157ms

And the page should pass the accessibility rules "label, form-field-multiple-labels" 1s 130ms

And the page should pass the accessibility rules "button-name, link-name" 1s 143ms

And the page should pass the accessibility rules "aria-valid-attr, aria-valid-attr-value, aria-roles" 1s 93ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Donate page keeps its text readable and its controls named
8

Given I am an anonymous user 690ms

When I go to "/donate" 671ms

And I wait until the page is loaded 3ms

Then the page should pass the accessibility rules "color-contrast" 945ms

And the page should pass the accessibility rules "image-alt, input-image-alt" 840ms

And the page should pass the accessibility rules "label, form-field-multiple-labels" 829ms

And the page should pass the accessibility rules "button-name, link-name" 830ms

And the page should pass the accessibility rules "aria-valid-attr, aria-valid-attr-value, aria-roles" 824ms

@check @a11y @acceptance @local @development @staging @production @slow
Scenario Outline:Check the Countries page keeps its text readable and its controls named
8

Given I am an anonymous user 696ms

When I go to "/countries" 10s 578ms

And I wait until the page is loaded 7ms

Then the page should pass the accessibility rules "color-contrast" 1s 999ms

And the page should pass the accessibility rules "image-alt, input-image-alt" 1s 895ms

And the page should pass the accessibility rules "label, form-field-multiple-labels" 1s 843ms

And the page should pass the accessibility rules "button-name, link-name" 1s 884ms

And the page should pass the accessibility rules "aria-valid-attr, aria-valid-attr-value, aria-roles" 1s 940ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the Home page is navigable by assistive technology
12

Given I am an anonymous user 847ms

When I go to "/" 693ms

And I wait until the page is loaded 9ms

Then the page should have exactly one h1 4ms

And every image should have an alt attribute 2ms

And every form field should have an accessible label 2ms

And every button should have an accessible name 2ms

And every link should have an accessible name 2ms

And every ARIA reference should resolve 2ms

And every ARIA role should be valid 3ms

And no element should have a positive tabindex 1ms

And user zoom should be allowed 1ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the About page is navigable by assistive technology
12

Given I am an anonymous user 761ms

When I go to "/about" 733ms

And I wait until the page is loaded 8ms

Then the page should have exactly one h1 2ms

And every image should have an alt attribute 2ms

And every form field should have an accessible label 2ms

And every button should have an accessible name 2ms

And every link should have an accessible name 2ms

And every ARIA reference should resolve 2ms

And every ARIA role should be valid 2ms

And no element should have a positive tabindex 2ms

And user zoom should be allowed 1ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the Programs page is navigable by assistive technology
12

Given I am an anonymous user 768ms

When I go to "/programs" 743ms

And I wait until the page is loaded 9ms

Then the page should have exactly one h1 2ms

And every image should have an alt attribute 1ms

And every form field should have an accessible label 1ms

And every button should have an accessible name 2ms

And every link should have an accessible name 2ms

And every ARIA reference should resolve 2ms

And every ARIA role should be valid 2ms

And no element should have a positive tabindex 1ms

And user zoom should be allowed 1ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the Resources page is navigable by assistive technology
12

Given I am an anonymous user 762ms

When I go to "/resources" 762ms

And I wait until the page is loaded 8ms

Then the page should have exactly one h1 2ms

And every image should have an alt attribute 1ms

And every form field should have an accessible label 2ms

And every button should have an accessible name 2ms

And every link should have an accessible name 2ms

And every ARIA reference should resolve 2ms

And every ARIA role should be valid 3ms

And no element should have a positive tabindex 1ms

And user zoom should be allowed 1ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the Events page is navigable by assistive technology
12

Given I am an anonymous user 776ms

When I go to "/events" 723ms

And I wait until the page is loaded 10ms

Then the page should have exactly one h1 2ms

And every image should have an alt attribute 1ms

And every form field should have an accessible label 2ms

And every button should have an accessible name 1ms

And every link should have an accessible name 1ms

And every ARIA reference should resolve 1ms

And every ARIA role should be valid 2ms

And no element should have a positive tabindex 1ms

And user zoom should be allowed 1ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the Donate page is navigable by assistive technology
12

Given I am an anonymous user 740ms

When I go to "/donate" 689ms

And I wait until the page is loaded 6ms

Then the page should have exactly one h1 1ms

And every image should have an alt attribute 3ms

And every form field should have an accessible label 2ms

And every button should have an accessible name 1ms

And every link should have an accessible name 1ms

And every ARIA reference should resolve 1ms

And every ARIA role should be valid 2ms

And no element should have a positive tabindex 1ms

And user zoom should be allowed 1ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Countries page is navigable by assistive technology
12

Given I am an anonymous user 769ms

When I go to "/countries" 9s 963ms

And I wait until the page is loaded 10s 3ms

Then the page should have exactly one h1 3ms

And every image should have an alt attribute 2ms

And every form field should have an accessible label 2ms

And every button should have an accessible name 3ms

And every link should have an accessible name 1ms

And every ARIA reference should resolve 2ms

And every ARIA role should be valid 4ms

And no element should have a positive tabindex 8ms

And user zoom should be allowed 2ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Impact page is navigable by assistive technology
12

Given I am an anonymous user 759ms

When I go to "/impact" 9s 942ms

And I wait until the page is loaded 10s 3ms

Then the page should have exactly one h1 2ms

And every image should have an alt attribute 1ms

And every form field should have an accessible label 2ms

And every button should have an accessible name 2ms

And every link should have an accessible name 1ms

And every ARIA reference should resolve 2ms

And every ARIA role should be valid 2ms

And no element should have a positive tabindex 1ms

And user zoom should be allowed 1ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the Home page is oriented for assistive technology
9

Given I am an anonymous user 780ms

When I go to "/" 706ms

And I wait until the page is loaded 9ms

Then the page should have a title 1ms

And the page should declare a language 1ms

And the page should have a main landmark 4ms

And the page should have a navigation landmark 3ms

And the page should have a skip link 2ms

And the heading hierarchy should be valid 2ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the About page is oriented for assistive technology
9

Given I am an anonymous user 771ms

When I go to "/about" 709ms

And I wait until the page is loaded 9ms

Then the page should have a title 1ms

And the page should declare a language 1ms

And the page should have a main landmark 2ms

And the page should have a navigation landmark 2ms

And the page should have a skip link 1ms

And the heading hierarchy should be valid 1ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the Programs page is oriented for assistive technology
9

Given I am an anonymous user 749ms

When I go to "/programs" 711ms

And I wait until the page is loaded 9ms

Then the page should have a title 1ms

And the page should declare a language 1ms

And the page should have a main landmark 2ms

And the page should have a navigation landmark 2ms

And the page should have a skip link 2ms

And the heading hierarchy should be valid 2ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the Resources page is oriented for assistive technology
9

Given I am an anonymous user 745ms

When I go to "/resources" 722ms

And I wait until the page is loaded 8ms

Then the page should have a title 1ms

And the page should declare a language 1ms

And the page should have a main landmark 2ms

And the page should have a navigation landmark 2ms

And the page should have a skip link 1ms

And the heading hierarchy should be valid 2ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the Events page is oriented for assistive technology
9

Given I am an anonymous user 739ms

When I go to "/events" 727ms

And I wait until the page is loaded 7ms

Then the page should have a title 1ms

And the page should declare a language 1ms

And the page should have a main landmark 3ms

And the page should have a navigation landmark 2ms

And the page should have a skip link 2ms

And the heading hierarchy should be valid 2ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Check the Donate page is oriented for assistive technology
9

Given I am an anonymous user 757ms

When I go to "/donate" 701ms

And I wait until the page is loaded 8ms

Then the page should have a title 1ms

And the page should declare a language 2ms

And the page should have a main landmark 2ms

And the page should have a navigation landmark 2ms

And the page should have a skip link 1ms

And the heading hierarchy should be valid 1ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Countries page is oriented for assistive technology
9

Given I am an anonymous user 744ms

When I go to "/countries" 9s 962ms

And I wait until the page is loaded 10s 6ms

Then the page should have a title 1ms

And the page should declare a language 1ms

And the page should have a main landmark 2ms

And the page should have a navigation landmark 2ms

And the page should have a skip link 1ms

And the heading hierarchy should be valid 1ms

@check @a11y @acceptance @local @development @staging @production
Scenario Outline:Check the Impact page is oriented for assistive technology
9

Given I am an anonymous user 719ms

When I go to "/impact" 9s 900ms

And I wait until the page is loaded 10s 10ms

Then the page should have a title < 1ms

And the page should declare a language < 1ms

And the page should have a main landmark 1ms

And the page should have a navigation landmark 1ms

And the page should have a skip link < 1ms

And the heading hierarchy should be valid 1ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Verify the skip link is the first thing a keyboard user reaches on the Home page
5

Given I am an anonymous user 698ms

When I go to "/" 660ms

And I wait until the page is loaded 3ms

And I press the key "Tab" 310ms

Then the focused element should match ".skip-link" < 1ms

@check @a11y @acceptance @local @development @staging @production @fast
Scenario Outline:Verify the skip link is the first thing a keyboard user reaches on the Donate page
5

Given I am an anonymous user 691ms

When I go to "/donate" 671ms

And I wait until the page is loaded 4ms

And I press the key "Tab" 307ms

Then the focused element should match ".skip-link" < 1ms

Given I am an anonymous user 691ms

When I go to "/impact" 8s 374ms

And I wait until the page is loaded 3ms

And I press the key "Tab" 308ms

Then the focused element should match ".skip-link" 1ms

@check @a11y @regression @local @development @staging @production
Scenario Outline:Check the Home page stays accessible on a phone
9

Given I am an anonymous user 696ms

When I set the viewport to the "xs" breakpoint 14ms

And I go to "/" 699ms

And I wait until the page is loaded 3ms

Then the page should have no critical accessibility violations 1s 404ms

And every button should have an accessible name 1ms

And every link should have an accessible name 1ms

And every image should have an alt attribute 1ms

And user zoom should be allowed < 1ms

@check @a11y @regression @local @development @staging @production
Scenario Outline:Check the About page stays accessible on a phone
9

Given I am an anonymous user 694ms

When I set the viewport to the "xs" breakpoint 11ms

And I go to "/about" 819ms

And I wait until the page is loaded 3ms

Then the page should have no critical accessibility violations 1s 317ms

And every button should have an accessible name 1ms

And every link should have an accessible name < 1ms

And every image should have an alt attribute 1ms

And user zoom should be allowed < 1ms

@check @a11y @regression @local @development @staging @production
Scenario Outline:Check the Countries page stays accessible on a phone
9

Given I am an anonymous user 692ms

When I set the viewport to the "xs" breakpoint 11ms

And I go to "/countries" 687ms

And I wait until the page is loaded 3ms

Then the page should have no critical accessibility violations 1s 414ms

And every button should have an accessible name 1ms

And every link should have an accessible name < 1ms

And every image should have an alt attribute < 1ms

And user zoom should be allowed < 1ms

@check @a11y @regression @local @development @staging @production
Scenario Outline:Check the Programs page stays accessible on a phone
9

Given I am an anonymous user 690ms

When I set the viewport to the "xs" breakpoint 17ms

And I go to "/programs" 669ms

And I wait until the page is loaded 3ms

Then the page should have no critical accessibility violations 1s 144ms

And every button should have an accessible name 1ms

And every link should have an accessible name 2ms

And every image should have an alt attribute < 1ms

And user zoom should be allowed < 1ms

@check @a11y @regression @local @development @staging @production
Scenario Outline:Check the Resources page stays accessible on a phone
9

Given I am an anonymous user 690ms

When I set the viewport to the "xs" breakpoint 11ms

And I go to "/resources" 823ms

And I wait until the page is loaded 3ms

Then the page should have no critical accessibility violations 1s 417ms

And every button should have an accessible name 1ms

And every link should have an accessible name 2ms

And every image should have an alt attribute < 1ms

And user zoom should be allowed < 1ms

@check @a11y @regression @local @development @staging @production
Scenario Outline:Check the Events page stays accessible on a phone
9

Given I am an anonymous user 694ms

When I set the viewport to the "xs" breakpoint 14ms

And I go to "/events" 722ms

And I wait until the page is loaded 3ms

Then the page should have no critical accessibility violations 1s 222ms

And every button should have an accessible name 1ms

And every link should have an accessible name < 1ms

And every image should have an alt attribute < 1ms

And user zoom should be allowed < 1ms

@check @a11y @regression @local @development @staging @production
Scenario Outline:Check the Impact page stays accessible on a phone
9

Given I am an anonymous user 690ms

When I set the viewport to the "xs" breakpoint 11ms

And I go to "/impact" 9s 864ms

And I wait until the page is loaded 5ms

Then the page should have no critical accessibility violations 1s 2ms

And every button should have an accessible name 1ms

And every link should have an accessible name < 1ms

And every image should have an alt attribute 1ms

And user zoom should be allowed < 1ms

@check @a11y @regression @local @development @staging @production
Scenario Outline:Check the Donate page stays accessible on a phone
9

Given I am an anonymous user 691ms

When I set the viewport to the "xs" breakpoint 11ms

And I go to "/donate" 657ms

And I wait until the page is loaded 4ms

Then the page should have no critical accessibility violations 921ms

And every button should have an accessible name 1ms

And every link should have an accessible name < 1ms

And every image should have an alt attribute 1ms

And user zoom should be allowed < 1ms

As a site owner
I want every Horizon Aid page to load within a budget
So that a regression in page weight, image derivatives or query count is caught the day it lands.

@check @perf @regression @local @development @staging @production
Scenario Outline:Check the Home page loads within the repeat-visit budget
7

Given I am an anonymous user 689ms

When I go to "/" 657ms

And I wait until the page is loaded 3ms

And I reload the page 657ms

And I wait until the page is loaded 3ms

Then the page should load in less than 8 seconds 1ms

And I should see "Donate" 6ms

@check @perf @regression @local @development @staging @production
Scenario Outline:Check the About page loads within the repeat-visit budget
7

Given I am an anonymous user 694ms

When I go to "/about" 665ms

And I wait until the page is loaded 3ms

And I reload the page 652ms

And I wait until the page is loaded 3ms

Then the page should load in less than 8 seconds < 1ms

And I should see "About" 8ms

@check @perf @regression @local @development @staging @production
Scenario Outline:Check the Impact page loads within the repeat-visit budget
7

Given I am an anonymous user 692ms

When I go to "/impact" 9s 877ms

And I wait until the page is loaded 3ms

And I reload the page 1s 846ms

And I wait until the page is loaded 10s 7ms

Then the page should load in less than 8 seconds 1ms

And I should see "Lives Protected" 3ms

@check @perf @regression @local @development @staging @production
Scenario Outline:Check the Donate page loads within the repeat-visit budget
7

Given I am an anonymous user 699ms

When I go to "/donate" 661ms

And I wait until the page is loaded 3ms

And I reload the page 647ms

And I wait until the page is loaded 3ms

Then the page should load in less than 8 seconds 1ms

And I should see "For over two decades" 3ms

@check @perf @regression @local @development @staging @production
Scenario Outline:Check the Countries page loads within the repeat-visit budget
7

Given I am an anonymous user 695ms

When I go to "/countries" 9s 932ms

And I wait until the page is loaded 4ms

And I reload the page 1s 862ms

And I wait until the page is loaded 10s 6ms

Then the page should load in less than 8 seconds 1ms

And I should see "Countries" 5ms

@check @perf @regression @local @development @staging @production
Scenario Outline:Check the Programs page loads within the repeat-visit budget
7

Given I am an anonymous user 697ms

When I go to "/programs" 675ms

And I wait until the page is loaded 3ms

And I reload the page 653ms

And I wait until the page is loaded 3ms

Then the page should load in less than 8 seconds < 1ms

And I should see "Programs" 3ms

@check @perf @regression @local @development @staging @production
Scenario Outline:Check the Resources page loads within the repeat-visit budget
7

Given I am an anonymous user 691ms

When I go to "/resources" 681ms

And I wait until the page is loaded 3ms

And I reload the page 672ms

And I wait until the page is loaded 3ms

Then the page should load in less than 8 seconds < 1ms

And I should see "Resources" 4ms

@check @perf @regression @local @development @staging @production
Scenario Outline:Check the Events page loads within the repeat-visit budget
7

Given I am an anonymous user 698ms

When I go to "/events" 686ms

And I wait until the page is loaded 3ms

And I reload the page 668ms

And I wait until the page is loaded 3ms

Then the page should load in less than 8 seconds < 1ms

And I should see "Events" 5ms

@check @perf @acceptance @local @development @staging @production
Scenario Outline:Check the Home page first visit stays within the cold-cache budget
5

Given I am an anonymous user 698ms

When I go to "/" 665ms

And I wait until the page is loaded 3ms

Then the page should load in less than 20 seconds < 1ms

And I should see "Donate" 5ms

@check @perf @acceptance @local @development @staging @production
Scenario Outline:Check the Countries page first visit stays within the cold-cache budget
5

Given I am an anonymous user 703ms

When I go to "/countries" 9s 895ms

And I wait until the page is loaded 10s 8ms

Then the page should load in less than 20 seconds 1ms

And I should see "Countries" 5ms

@check @perf @acceptance @local @development @staging @production
Scenario Outline:Check the Programs page first visit stays within the cold-cache budget
5

Given I am an anonymous user 690ms

When I go to "/programs" 672ms

And I wait until the page is loaded 3ms

Then the page should load in less than 20 seconds < 1ms

And I should see "Programs" 3ms

@check @perf @acceptance @local @development @staging @production
Scenario Outline:Check the Impact page first visit stays within the cold-cache budget
5

Given I am an anonymous user 688ms

When I go to "/impact" 9s 880ms

And I wait until the page is loaded 10s 9ms

Then the page should load in less than 20 seconds 1ms

And I should see "Lives Protected" 3ms

@check @perf @acceptance @local @development @staging @production
Scenario Outline:Check the Donate page first visit stays within the cold-cache budget
5

Given I am an anonymous user 692ms

When I go to "/donate" 674ms

And I wait until the page is loaded 3ms

Then the page should load in less than 20 seconds 1ms

And I should see "For over two decades" 2ms

@check @perf @exploratory @local @development @staging @production
Scenario Outline:Check the Home page loads within the repeat-visit budget on a phone
8

Given I am an anonymous user 694ms

When I set the viewport to the "xs" breakpoint 11ms

And I go to "/" 649ms

And I wait until the page is loaded 3ms

And I reload the page 655ms

And I wait until the page is loaded 3ms

Then the page should load in less than 8 seconds < 1ms

And I should see "Donate" 9ms

@check @perf @exploratory @local @development @staging @production
Scenario Outline:Check the Donate page loads within the repeat-visit budget on a phone
8

Given I am an anonymous user 690ms

When I set the viewport to the "xs" breakpoint 14ms

And I go to "/donate" 661ms

And I wait until the page is loaded 3ms

And I reload the page 656ms

And I wait until the page is loaded 4ms

Then the page should load in less than 8 seconds < 1ms

And I should see "For over two decades" 3ms

@check @perf @exploratory @local @development @staging @production @slow
Scenario Outline:Check the Impact page loads within the repeat-visit budget on a phone
8

Given I am an anonymous user 690ms

When I set the viewport to the "xs" breakpoint 11ms

And I go to "/impact" 8s 363ms

And I wait until the page is loaded 3ms

And I reload the page 1s 845ms

And I wait until the page is loaded 10s 7ms

Then the page should load in less than 8 seconds 1ms

And I should see "Lives Protected" 3ms

As a communications team
I want every page to declare its own title, canonical URL and share preview
So that search engines index the right URL and a shared link presents the organisation properly.

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the About page declares its own canonical URL
4

Given I am an anonymous user 3s 964ms

When I go to "/about" 2s 266ms

And I wait until the page is loaded 6ms

Then the element "link[rel='canonical']" with the attribute "href" and the value containing "/about" should exist 3ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Programs page declares its own canonical URL
4

Given I am an anonymous user 1s 31ms

When I go to "/programs" 2s 30ms

And I wait until the page is loaded 7ms

Then the element "link[rel='canonical']" with the attribute "href" and the value containing "/programs" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Resources page declares its own canonical URL
4

Given I am an anonymous user 733ms

When I go to "/resources" 1s 994ms

And I wait until the page is loaded 5ms

Then the element "link[rel='canonical']" with the attribute "href" and the value containing "/resources" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Events page declares its own canonical URL
4

Given I am an anonymous user 722ms

When I go to "/events" 1s 612ms

And I wait until the page is loaded 5ms

Then the element "link[rel='canonical']" with the attribute "href" and the value containing "/events" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Donate page declares its own canonical URL
4

Given I am an anonymous user 728ms

When I go to "/donate" 874ms

And I wait until the page is loaded 5ms

Then the element "link[rel='canonical']" with the attribute "href" and the value containing "/donate" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production
Scenario Outline:Check the Countries page declares its own canonical URL
4

Given I am an anonymous user 731ms

When I go to "/countries" 9s 306ms

And I wait until the page is loaded 5ms

Then the element "link[rel='canonical']" with the attribute "href" and the value containing "/countries" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production
Scenario Outline:Check the Impact page declares its own canonical URL
4

Given I am an anonymous user 719ms

When I go to "/impact" 10s 616ms

And I wait until the page is loaded 6ms

Then the element "link[rel='canonical']" with the attribute "href" and the value containing "/impact" should exist 1ms

@check @seo @smoke @fast @no-javascript @local @development @staging @production
Scenario:Verify the front page canonicalises to the Horizon Aid home page
4

Given I am an anonymous user 717ms

When I go to "/" 672ms

And I wait until the page is loaded 4ms

Then the element "link[rel='canonical']" with the attribute "href" and the value containing "/home" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Home page titles itself
4

Given I am an anonymous user 729ms

When I go to "/" 699ms

And I wait until the page title contains "Home" 1ms

Then the page should have a title 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the About page titles itself
4

Given I am an anonymous user 720ms

When I go to "/about" 683ms

And I wait until the page title contains "About" 1ms

Then the page should have a title < 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Programs page titles itself
4

Given I am an anonymous user 733ms

When I go to "/programs" 707ms

And I wait until the page title contains "Our Programs" 2ms

Then the page should have a title < 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Resources page titles itself
4

Given I am an anonymous user 720ms

When I go to "/resources" 698ms

And I wait until the page title contains "Resources" 1ms

Then the page should have a title < 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Events page titles itself
4

Given I am an anonymous user 721ms

When I go to "/events" 699ms

And I wait until the page title contains "Events" 1ms

Then the page should have a title < 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Donate page titles itself
4

Given I am an anonymous user 725ms

When I go to "/donate" 677ms

And I wait until the page title contains "Donate" 2ms

Then the page should have a title 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production
Scenario Outline:Check the Countries page titles itself
4

Given I am an anonymous user 719ms

When I go to "/countries" 9s 937ms

And I wait until the page title contains "Countries" 2ms

Then the page should have a title 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production
Scenario Outline:Check the Impact page titles itself
4

Given I am an anonymous user 729ms

When I go to "/impact" 9s 916ms

And I wait until the page title contains "Our Impact" 2ms

Then the page should have a title 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Home page identifies itself for social sharing
6

Given I am an anonymous user 723ms

When I go to "/" 676ms

And I wait until the page is loaded 5ms

Then the element "meta[property='og:site_name']" with the attribute "content" and the value containing "Horizon Aid" should exist 2ms

And the element "meta[property='og:url']" with the attribute "content" and the value containing "/home" should exist 1ms

And the element "meta[name='twitter:card']" with the attribute "content" and the value containing "summary" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the About page identifies itself for social sharing
6

Given I am an anonymous user 717ms

When I go to "/about" 685ms

And I wait until the page is loaded 4ms

Then the element "meta[property='og:site_name']" with the attribute "content" and the value containing "Horizon Aid" should exist 1ms

And the element "meta[property='og:url']" with the attribute "content" and the value containing "/about" should exist 1ms

And the element "meta[name='twitter:card']" with the attribute "content" and the value containing "summary" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Programs page identifies itself for social sharing
6

Given I am an anonymous user 726ms

When I go to "/programs" 686ms

And I wait until the page is loaded 6ms

Then the element "meta[property='og:site_name']" with the attribute "content" and the value containing "Horizon Aid" should exist 1ms

And the element "meta[property='og:url']" with the attribute "content" and the value containing "/programs" should exist 1ms

And the element "meta[name='twitter:card']" with the attribute "content" and the value containing "summary" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Resources page identifies itself for social sharing
6

Given I am an anonymous user 722ms

When I go to "/resources" 696ms

And I wait until the page is loaded 5ms

Then the element "meta[property='og:site_name']" with the attribute "content" and the value containing "Horizon Aid" should exist 1ms

And the element "meta[property='og:url']" with the attribute "content" and the value containing "/resources" should exist 1ms

And the element "meta[name='twitter:card']" with the attribute "content" and the value containing "summary" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Events page identifies itself for social sharing
6

Given I am an anonymous user 717ms

When I go to "/events" 686ms

And I wait until the page is loaded 5ms

Then the element "meta[property='og:site_name']" with the attribute "content" and the value containing "Horizon Aid" should exist 1ms

And the element "meta[property='og:url']" with the attribute "content" and the value containing "/events" should exist 1ms

And the element "meta[name='twitter:card']" with the attribute "content" and the value containing "summary" should exist 3ms

@check @seo @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Donate page identifies itself for social sharing
6

Given I am an anonymous user 722ms

When I go to "/donate" 694ms

And I wait until the page is loaded 6ms

Then the element "meta[property='og:site_name']" with the attribute "content" and the value containing "Horizon Aid" should exist 1ms

And the element "meta[property='og:url']" with the attribute "content" and the value containing "/donate" should exist 1ms

And the element "meta[name='twitter:card']" with the attribute "content" and the value containing "summary" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production
Scenario Outline:Check the Countries page identifies itself for social sharing
6

Given I am an anonymous user 723ms

When I go to "/countries" 9s 930ms

And I wait until the page is loaded 5ms

Then the element "meta[property='og:site_name']" with the attribute "content" and the value containing "Horizon Aid" should exist 1ms

And the element "meta[property='og:url']" with the attribute "content" and the value containing "/countries" should exist 1ms

And the element "meta[name='twitter:card']" with the attribute "content" and the value containing "summary" should exist 1ms

@check @seo @acceptance @no-javascript @local @development @staging @production
Scenario Outline:Check the Impact page identifies itself for social sharing
6

Given I am an anonymous user 729ms

When I go to "/impact" 9s 900ms

And I wait until the page is loaded 10s 4ms

Then the element "meta[property='og:site_name']" with the attribute "content" and the value containing "Horizon Aid" should exist 1ms

And the element "meta[property='og:url']" with the attribute "content" and the value containing "/impact" should exist 1ms

And the element "meta[name='twitter:card']" with the attribute "content" and the value containing "summary" should exist 1ms

@check @seo @acceptance @fast @no-javascript @local @development @staging @production
Scenario:Check a shipped node page carries a description and a complete share preview
10

Given I am an anonymous user 740ms

When I go to "/terms-and-conditions" 1s 467ms

And I wait until the page is loaded 8ms

Then the element "meta[name='description']" with the attribute "content" and the value containing "terms that govern the use of this website" should exist 1ms

And the element "meta[property='og:title']" with the attribute "content" and the value containing "Terms and Conditions" should exist 1ms

And the element "meta[property='og:description']" with the attribute "content" and the value containing "terms that govern the use of this website" should exist 1ms

And the element "meta[property='og:url']" with the attribute "content" and the value containing "/terms-and-conditions" should exist 1ms

And the meta tag should exist with the following attributes: 3ms
property og:type
content article

And the "description" meta tag should not contain any HTML tags 3ms

And the "og:description" meta tag should not contain any HTML tags 2ms

@check @seo @regression @no-javascript @local @development @staging @production @fast
Scenario Outline:Verify the Home page is not excluded from search engines
5

Given I am an anonymous user 755ms

When I go to "/" 692ms

And I wait until the page is loaded 6ms

Then the meta tag should not exist with the following attributes: 2ms
name robots
content noindex

And the meta tag should not exist with the following attributes: 2ms
name robots
content noindex, nofollow

@check @seo @regression @no-javascript @local @development @staging @production @fast
Scenario Outline:Verify the About page is not excluded from search engines
5

Given I am an anonymous user 737ms

When I go to "/about" 702ms

And I wait until the page is loaded 7ms

Then the meta tag should not exist with the following attributes: 2ms
name robots
content noindex

And the meta tag should not exist with the following attributes: 2ms
name robots
content noindex, nofollow

@check @seo @regression @no-javascript @local @development @staging @production @fast
Scenario Outline:Verify the Programs page is not excluded from search engines
5

Given I am an anonymous user 741ms

When I go to "/programs" 698ms

And I wait until the page is loaded 6ms

Then the meta tag should not exist with the following attributes: 2ms
name robots
content noindex

And the meta tag should not exist with the following attributes: 2ms
name robots
content noindex, nofollow

@check @seo @regression @no-javascript @local @development @staging @production @fast
Scenario Outline:Verify the Resources page is not excluded from search engines
5

Given I am an anonymous user 740ms

When I go to "/resources" 708ms

And I wait until the page is loaded 7ms

Then the meta tag should not exist with the following attributes: 2ms
name robots
content noindex

And the meta tag should not exist with the following attributes: 3ms
name robots
content noindex, nofollow

@check @seo @regression @no-javascript @local @development @staging @production @fast
Scenario Outline:Verify the Events page is not excluded from search engines
5

Given I am an anonymous user 734ms

When I go to "/events" 704ms

And I wait until the page is loaded 8ms

Then the meta tag should not exist with the following attributes: 2ms
name robots
content noindex

And the meta tag should not exist with the following attributes: 1ms
name robots
content noindex, nofollow

@check @seo @regression @no-javascript @local @development @staging @production @fast
Scenario Outline:Verify the Donate page is not excluded from search engines
5

Given I am an anonymous user 731ms

When I go to "/donate" 715ms

And I wait until the page is loaded 6ms

Then the meta tag should not exist with the following attributes: 2ms
name robots
content noindex

And the meta tag should not exist with the following attributes: 1ms
name robots
content noindex, nofollow

@check @seo @regression @no-javascript @local @development @staging @production
Scenario Outline:Verify the Countries page is not excluded from search engines
5

Given I am an anonymous user 733ms

When I go to "/countries" 9s 949ms

And I wait until the page is loaded 10s 9ms

Then the meta tag should not exist with the following attributes: 2ms
name robots
content noindex

And the meta tag should not exist with the following attributes: 1ms
name robots
content noindex, nofollow

@check @seo @regression @no-javascript @local @development @staging @production
Scenario Outline:Verify the Impact page is not excluded from search engines
5

Given I am an anonymous user 744ms

When I go to "/impact" 9s 901ms

And I wait until the page is loaded 10s 7ms

Then the meta tag should not exist with the following attributes: 2ms
name robots
content noindex

And the meta tag should not exist with the following attributes: 1ms
name robots
content noindex, nofollow

@check @seo @a11y @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Home page declares a responsive viewport
5

Given I am an anonymous user 736ms

When I go to "/" 688ms

And I wait until the page is loaded 7ms

Then the meta tag should exist with the following attributes: 2ms
name viewport
content width=device-width, initial-scale=1.0

And user zoom should be allowed 1ms

@check @seo @a11y @acceptance @no-javascript @local @development @staging @production @fast
Scenario Outline:Check the Donate page declares a responsive viewport
5

Given I am an anonymous user 746ms

When I go to "/donate" 689ms

And I wait until the page is loaded 6ms

Then the meta tag should exist with the following attributes: 4ms
name viewport
content width=device-width, initial-scale=1.0

And user zoom should be allowed 1ms

@check @seo @a11y @acceptance @no-javascript @local @development @staging @production
Scenario Outline:Check the Impact page declares a responsive viewport
5

Given I am an anonymous user 728ms

When I go to "/impact" 9s 908ms

And I wait until the page is loaded 10s 4ms

Then the meta tag should exist with the following attributes: 2ms
name viewport
content width=device-width, initial-scale=1.0

And user zoom should be allowed 1ms

@check @seo @acceptance @api @no-javascript @local @development @staging @production
Scenario:Check the XML sitemap is published as XML
4

Given I am an anonymous user 729ms

When I go to "/sitemap.xml" 9s 875ms

Then the response status code should be 200 23ms

And the response header "Content-Type" should contain the value "xml" < 1ms

@check @seo @smoke @fast @no-javascript @local @development @staging @production
Scenario:Verify robots.txt is published and does not disallow the whole site
5

Given I am an anonymous user 726ms

When I go to "/robots.txt" 526ms

Then the response status code should be 200 2ms

And the response should contain "User-agent: *" 2ms

And I should not see text matching "Disallow: /\s*$" 1ms

@any @regression @content @editorial @acceptance
Feature:Editorial - Country - create, read, update and delete 4

As a content editor
I want to create, read, update and delete a Country through the admin UI
So that the Country content type is usable end to end, not just installed.

@check @acceptance @slow @crud @editorial @local @development
Scenario:Check that a Country can be created and read at its public address
44

Given I am a logged in user with the "webmaster" user 9s 535ms

Then I should see "Log out" 7ms

When I go to "/node/add/country" 12s 282ms

And I wait until the page is loaded 6ms

Then I should see "Create Country" 6ms

When I fill in "Title" with "Functional testing suite country" 1s 835ms

And I fill in "Summary" with "A Country created by the Horizon Aid functional testing suite." 1s 811ms

And I fill in the rich text editor field "Our role" with "<p>What we do in the round-trip country.</p>" 9s 530ms

And I fill in "Figure number (value 1)" with "42" 1s 813ms

And I fill in "Figure description (value 1)" with "Round-trip figure" 1s 810ms

And I submit by id "edit-submit" 9s 508ms

And I wait until the page is loaded 4ms

Then I should see "Country Functional testing suite country has been created." 8ms

Then "h1" should have text "Functional testing suite country" within 10 seconds 2ms

Given I am an anonymous user 1s 463ms

When I go to "/countries/functional-testing-suite-country" 1s 21ms

And I wait until the page is loaded 3ms

Then the response status code should be 200 16ms

And "h1" should have text "Functional testing suite country" within 10 seconds 2ms

And I should see "What we do in the round-trip country." 5ms

And I should see "Round-trip figure" 3ms

Given I am a logged in user with the "webmaster" user 1s 963ms

Then I should see "Log out" 6ms

When I go to "/admin/content?title=Functional+testing+suite+country" 10s 234ms

And I wait until the page is loaded 5ms

And I open the "Delete" link in the "Functional testing suite country" row 819ms

And I wait until the page is loaded 4ms

Then I should see "Are you sure you want to delete" 4ms

When I click the "Delete" button 828ms

And I wait until the page is loaded 4ms

Then I should see "has been deleted" 6ms

When I go to "/admin/content/trash" 808ms

And I wait until the page is loaded 3ms

And I open the "Purge" link in the "Functional testing suite country" row 780ms

And I wait until the page is loaded 4ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 800ms

And I wait until the page is loaded 3ms

Then I should see "has been permanently deleted" 5ms

And I should not see "Functional testing suite country" in the "table" element 30s 5ms

Given I am an anonymous user 662ms

When I go to "/countries/functional-testing-suite-country" 550ms

And I wait until the page is loaded 3ms

Then the response status code should be 404 106ms

@check @acceptance @slow @crud @editorial @local @development
Scenario:Verify that an edit to a Country persists to the public page
46

Given I am a logged in user with the "webmaster" user 2s 19ms

Then I should see "Log out" 6ms

When I go to "/node/add/country" 11s 316ms

And I wait until the page is loaded 4ms

And I fill in "Title" with "Functional testing suite edited country" 1s 835ms

And I fill in "Summary" with "A Country the suite is about to edit." 1s 810ms

And I fill in the rich text editor field "Our role" with "<p>The first version of our role.</p>" 9s 534ms

And I submit by id "edit-submit" 9s 519ms

And I wait until the page is loaded 10s 40ms

Then I should see "has been created" 20ms

When I go to "/admin/content?title=Functional+testing+suite+edited+country" 10s 390ms

And I wait until the page is loaded 10s 6ms

Then I should see "Functional testing suite edited country" 12ms

When I open the "Edit" link in the "Functional testing suite edited country" row 10s 376ms

And I wait until the page is loaded 10s 8ms

Then I should see "Functional testing suite edited country" value in the "edit-title-0-value" input element 4ms

And I should see "A Country the suite is about to edit." value in the "edit-field-description-0-value" input element 2ms

When I fill in "Summary" with "The revised summary of the edited country." 1s 929ms

And I fill in the rich text editor field "Our role" with "<p>The revised version of our role.</p>" 9s 548ms

And I submit by id "edit-submit" 9s 531ms

And I wait until the page is loaded 10s 6ms

Then I should see "Country Functional testing suite edited country has been updated." 11ms

Given I am an anonymous user 1s 313ms

When I go to "/countries/functional-testing-suite-edited-country" 1s 7ms

And I wait until the page is loaded 19ms

Then the response status code should be 200 18ms

And I should see "The revised version of our role." 17ms

And I should not see "The first version of our role." 8ms

Given I am a logged in user with the "webmaster" user 10s 455ms

Then I should see "Log out" 18ms

When I go to "/admin/content?title=Functional+testing+suite+edited+country" 1s 97ms

And I wait until the page is loaded 22ms

And I open the "Delete" link in the "Functional testing suite edited country" row 963ms

And I wait until the page is loaded 23ms

And I click the "Delete" button 1s 254ms

And I wait until the page is loaded 18ms

Then I should see "has been deleted" 88ms

When I go to "/admin/content/trash" 10s 529ms

And I wait until the page is loaded 16ms

And I open the "Purge" link in the "Functional testing suite edited country" row 1s 19ms

And I wait until the page is loaded 17ms

And I wait until the page title contains "Are you sure you want to permanently delete" 4ms

When I submit by id "edit-submit" 1s 188ms

And I wait until the page is loaded 23ms

Then I should see "has been permanently deleted" 16ms

And I should not see "Functional testing suite edited country" in the "table" element 30s 6ms

@check @regression @slow @crud @editorial @local @development
Scenario:Verify that a Country cannot be saved without its required fields
11

Given I am a logged in user with the "webmaster" user 2s 47ms

Then I should see "Log out" 6ms

When I go to "/node/add/country" 10s 719ms

And I wait until the page is loaded 10s 9ms

Given browser validation for the form "#node-country-form" is disabled 1ms

When I submit by id "edit-submit" 9s 507ms

And I wait until the page is loaded 4ms

Then I should see "Title field is required" 6ms

And I should see "Summary field is required" 4ms

And I should see "Our role field is required" 4ms

And I should not see "has been created" 4ms

@check @regression @slow @security @crud @editorial @local @development
Scenario:Verify that an unpublished Country is not readable by a visitor
36

Given I am a logged in user with the "webmaster" user 2s 26ms

Then I should see "Log out" 6ms

When I go to "/node/add/country" 11s 265ms

And I wait until the page is loaded 10s 2ms

And I fill in "Title" with "Functional testing suite unpublished country" 1s 831ms

And I fill in "Summary" with "This country must never be readable by an anonymous visitor." 1s 811ms

And I fill in the rich text editor field "Our role" with "<p>Unpublished round-trip country.</p>" 9s 530ms

And I uncheck "Published" 341ms

And I submit by id "edit-submit" 9s 510ms

And I wait until the page is loaded 4ms

Then I should see "has been created" 8ms

Given I am an anonymous user 913ms

When I go to "/countries/functional-testing-suite-unpublished-country" 966ms

And I wait until the page is loaded 3ms

Then the response status code should be 404 13ms

When I go to "/countries" 10s 449ms

And I wait until the page is loaded 10s 2ms

Then I should not see "Functional testing suite unpublished country" 5ms

Given I am a logged in user with the "webmaster" user 1s 966ms

Then I should see "Log out" 6ms

When I go to "/admin/content?title=Functional+testing+suite+unpublished+country" 765ms

And I wait until the page is loaded 3ms

And I open the "Delete" link in the "Functional testing suite unpublished country" row 712ms

And I wait until the page is loaded 4ms

And I click the "Delete" button 803ms

And I wait until the page is loaded 3ms

Then I should see "has been deleted" 4ms

When I go to "/admin/content/trash" 10s 37ms

And I wait until the page is loaded 10s 9ms

And I open the "Purge" link in the "Functional testing suite unpublished country" row 715ms

And I wait until the page is loaded 4ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 743ms

And I wait until the page is loaded 3ms

Then I should see "has been permanently deleted" 4ms

And I should not see "Functional testing suite unpublished country" in the "table" element 30s 5ms

@any @regression @content @editorial @acceptance
Feature:Editorial - Program - create, read, update and delete 4

As a content editor
I want to create, read, update and delete a Program through the admin UI
So that the Program content type and its country references work end to end.

@check @acceptance @slow @crud @editorial @local @development
Scenario:Check that a Program can be created and read at its public address
43

Given I am a logged in user with the "webmaster" user 2s 38ms

Then I should see "Log out" 6ms

When I go to "/node/add/program" 11s 25ms

And I wait until the page is loaded 10s 10ms

Then I should see "Create Program" 8ms

When I fill in "Title" with "Functional testing suite program" 1s 817ms

And I fill in "Summary" with "A Program created by the Horizon Aid functional testing suite." 1s 811ms

And I fill in the rich text editor field "Content" with "<p>What the round-trip program does.</p>" 9s 536ms

And I select "Education" from "field_program_type" 310ms

And I fill in "field_countries[0][target_id]" with "Colombia" 1s 819ms

And I submit by id "edit-submit" 9s 507ms

And I wait until the page is loaded 10s 10ms

Then I should see "Program Functional testing suite program has been created." 7ms

Then "h1" should have text "Functional testing suite program" within 10 seconds 1ms

Given I am an anonymous user 896ms

When I go to "/programs/functional-testing-suite-program" 1s 44ms

And I wait until the page is loaded 3ms

Then the response status code should be 200 8ms

And "h1" should have text "Functional testing suite program" within 10 seconds 1ms

And I should see "What the round-trip program does." 3ms

Given I am a logged in user with the "webmaster" user 1s 954ms

Then I should see "Log out" 5ms

When I go to "/admin/content?title=Functional+testing+suite+program" 753ms

And I wait until the page is loaded 4ms

And I open the "Delete" link in the "Functional testing suite program" row 705ms

And I wait until the page is loaded 3ms

Then I should see "Are you sure you want to delete" 3ms

When I click the "Delete" button 744ms

And I wait until the page is loaded 4ms

Then I should see "has been deleted" 5ms

When I go to "/admin/content/trash" 759ms

And I wait until the page is loaded 3ms

And I open the "Purge" link in the "Functional testing suite program" row 704ms

And I wait until the page is loaded 3ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 738ms

And I wait until the page is loaded 3ms

Then I should see "has been permanently deleted" 4ms

And I should not see "Functional testing suite program" in the "table" element 30s 5ms

Given I am an anonymous user 660ms

When I go to "/programs/functional-testing-suite-program" 569ms

And I wait until the page is loaded 3ms

Then the response status code should be 404 106ms

@check @acceptance @slow @crud @editorial @local @development
Scenario:Verify that a Program keeps its Sector and its country reference
43

Given I am a logged in user with the "webmaster" user 2s 30ms

Then I should see "Log out" 6ms

When I go to "/node/add/program" 10s 998ms

And I wait until the page is loaded 10s 10ms

And I fill in "Title" with "Functional testing suite referenced program" 1s 818ms

And I fill in "Summary" with "A Program whose references the suite reads back." 1s 812ms

And I select "Agriculture" from "field_program_type" 1s 804ms

And I fill in "field_countries[0][target_id]" with "Colombia" 1s 816ms

And I submit by id "edit-submit" 9s 507ms

And I wait until the page is loaded 10s 10ms

Then I should see "has been created" 8ms

When I go to "/admin/content?title=Functional+testing+suite+referenced+program" 756ms

And I wait until the page is loaded 3ms

And I open the "Edit" link in the "Functional testing suite referenced program" row 9s 376ms

And I wait until the page is loaded 10s 10ms

Then the option "Agriculture" should be selected within the select element "[name='field_program_type']" 9ms

And I should see "Colombia" value in the "edit-field-countries-0-target-id" input element 1ms

When I select "Health" from "field_program_type" 308ms

And I submit by id "edit-submit" 841ms

And I wait until the page is loaded 3ms

Then I should see "has been updated" 4ms

When I go to "/admin/content?title=Functional+testing+suite+referenced+program" 695ms

And I wait until the page is loaded 3ms

And I open the "Edit" link in the "Functional testing suite referenced program" row 9s 372ms

And I wait until the page is loaded 10s 8ms

Then the option "Health" should be selected within the select element "[name='field_program_type']" 1s 506ms

And the option "Agriculture" should not be selected within the select element "[name='field_program_type']" 8ms

When I go to "/admin/content?title=Functional+testing+suite+referenced+program" 781ms

And I wait until the page is loaded 3ms

And I open the "Delete" link in the "Functional testing suite referenced program" row 708ms

And I wait until the page is loaded 3ms

And I click the "Delete" button 792ms

And I wait until the page is loaded 3ms

Then I should see "has been deleted" 4ms

When I go to "/admin/content/trash" 763ms

And I wait until the page is loaded 3ms

And I open the "Purge" link in the "Functional testing suite referenced program" row 684ms

And I wait until the page is loaded 3ms

And I wait until the page title contains "Are you sure you want to permanently delete" 2ms

When I submit by id "edit-submit" 773ms

And I wait until the page is loaded 3ms

Then I should see "has been permanently deleted" 4ms

And I should not see "Functional testing suite referenced program" in the "table" element 30s 6ms

@check @regression @crud @editorial @local @development
Scenario:Verify that a Program cannot be saved without a title
9

Given I am a logged in user with the "webmaster" user 2s 49ms

Then I should see "Log out" 6ms

When I go to "/node/add/program" 9s 516ms

And I wait until the page is loaded 3ms

Given browser validation for the form "#node-program-form" is disabled < 1ms

When I submit by id "edit-submit" 9s 504ms

And I wait until the page is loaded 10s

Then I should see "Title field is required" 11ms

And I should not see "has been created" 5ms

@check @regression @slow @security @crud @editorial @local @development
Scenario:Verify that an unpublished Program is not readable by a visitor
35

Given I am a logged in user with the "webmaster" user 2s 26ms

Then I should see "Log out" 6ms

When I go to "/node/add/program" 11s 11ms

And I wait until the page is loaded 10s 10ms

And I fill in "Title" with "Functional testing suite unpublished program" 1s 817ms

And I fill in "Summary" with "This program must never be readable by an anonymous visitor." 1s 811ms

And I uncheck "Published" 1s 830ms

And I submit by id "edit-submit" 9s 507ms

And I wait until the page is loaded 10s 11ms

Then I should see "has been created" 8ms

Given I am an anonymous user 895ms

When I go to "/programs/functional-testing-suite-unpublished-program" 639ms

And I wait until the page is loaded 3ms

Then the response status code should be 404 13ms

When I go to "/programs" 1s 304ms

And I wait until the page is loaded 3ms

Then I should not see "Functional testing suite unpublished program" 3ms

Given I am a logged in user with the "webmaster" user 1s 925ms

Then I should see "Log out" 7ms

When I go to "/admin/content?title=Functional+testing+suite+unpublished+program" 751ms

And I wait until the page is loaded 4ms

And I open the "Delete" link in the "Functional testing suite unpublished program" row 721ms

And I wait until the page is loaded 3ms

And I click the "Delete" button 779ms

And I wait until the page is loaded 5ms

Then I should see "has been deleted" 4ms

When I go to "/admin/content/trash" 751ms

And I wait until the page is loaded 4ms

And I open the "Purge" link in the "Functional testing suite unpublished program" row 679ms

And I wait until the page is loaded 3ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 743ms

And I wait until the page is loaded 4ms

Then I should see "has been permanently deleted" 6ms

And I should not see "Functional testing suite unpublished program" in the "table" element 30s 5ms

@any @regression @content @editorial @acceptance
Feature:Editorial - Resource - create, read, update and delete 4

As a content editor
I want to create, read, update and delete a Resource through the admin UI
So that the Resources section works end to end, moderation state and all.

@check @acceptance @slow @crud @editorial @local @development
Scenario:Check that a Resource can be created, published and read by a visitor
42

Given I am a logged in user with the "webmaster" user 2s 33ms

Then I should see "Log out" 6ms

When I go to "/node/add/blog" 12s 38ms

And I wait until the page is loaded 10s 10ms

Then I should see "Create Blog post" 6ms

When I fill in "Title" with "Functional testing suite resource" 1s 822ms

And I fill in "Description" with "A Resource created by the Horizon Aid functional testing suite." 1s 809ms

And I fill in the rich text editor field "Content" with "<p>The body of the round-trip resource.</p>" 9s 527ms

And I select "Published" from "#edit-moderation-state-0-state" 1s 805ms

And I submit by id "edit-submit" 9s 507ms

And I wait until the page is loaded 10s 10ms

Then I should see "Blog post Functional testing suite resource has been created." 6ms

Then "h1" should have text "Functional testing suite resource" within 10 seconds 1ms

Given I am an anonymous user 890ms

When I go to "/resources/functional-testing-suite-resource" 991ms

And I wait until the page is loaded 2ms

Then the response status code should be 200 12ms

And "h1" should have text "Functional testing suite resource" within 10 seconds 1ms

And I should see "The body of the round-trip resource." 2ms

Given I am a logged in user with the "webmaster" user 1s 932ms

Then I should see "Log out" 5ms

When I go to "/admin/content?title=Functional+testing+suite+resource" 752ms

And I wait until the page is loaded 4ms

And I open the "Delete" link in the "Functional testing suite resource" row 679ms

And I wait until the page is loaded 3ms

Then I should see "Are you sure you want to delete" 3ms

When I click the "Delete" button 791ms

And I wait until the page is loaded 4ms

Then I should see "has been deleted" 4ms

When I go to "/admin/content/trash" 748ms

And I wait until the page is loaded 3ms

And I open the "Purge" link in the "Functional testing suite resource" row 676ms

And I wait until the page is loaded 3ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 736ms

And I wait until the page is loaded 3ms

Then I should see "has been permanently deleted" 4ms

And I should not see "Functional testing suite resource" in the "table" element 30s 5ms

Given I am an anonymous user 660ms

When I go to "/resources/functional-testing-suite-resource" 542ms

And I wait until the page is loaded 3ms

Then the response status code should be 404 104ms

@check @acceptance @slow @crud @editorial @local @development
Scenario:Verify that an edit to a published Resource persists and stays public
45

Given I am a logged in user with the "webmaster" user 2s 22ms

Then I should see "Log out" 6ms

When I go to "/node/add/blog" 10s 633ms

And I wait until the page is loaded 10s 9ms

And I fill in "Title" with "Functional testing suite edited resource" 1s 823ms

And I fill in "Description" with "A Resource the suite is about to edit." 1s 809ms

And I fill in the rich text editor field "Content" with "<p>The first version of the resource body.</p>" 9s 526ms

And I select "Published" from "#edit-moderation-state-0-state" 1s 804ms

And I submit by id "edit-submit" 9s 507ms

And I wait until the page is loaded 4ms

Then I should see "has been created" 5ms

When I go to "/admin/content?title=Functional+testing+suite+edited+resource" 740ms

And I wait until the page is loaded 3ms

And I open the "Edit" link in the "Functional testing suite edited resource" row 8s 962ms

And I wait until the page is loaded 10s 9ms

Then I should see "Functional testing suite edited resource" value in the "edit-title-0-value" input element 1ms

When I fill in the rich text editor field "Content" with "<p>The revised version of the resource body.</p>" 9s 517ms

And I select "Published" from "#edit-moderation-state-0-state" 1s 804ms

And I submit by id "edit-submit" 9s 508ms

And I wait until the page is loaded 10s 10ms

Then I should see "has been updated" 6ms

Given I am an anonymous user 910ms

When I go to "/resources/functional-testing-suite-edited-resource" 668ms

And I wait until the page is loaded 2ms

Then the response status code should be 200 7ms

And I should see "The revised version of the resource body." 2ms

And I should not see "The first version of the resource body." 2ms

Given I am a logged in user with the "webmaster" user 1s 934ms

Then I should see "Log out" 5ms

When I go to "/admin/content?title=Functional+testing+suite+edited+resource" 10s 24ms

And I wait until the page is loaded 10s 10ms

And I open the "Delete" link in the "Functional testing suite edited resource" row 719ms

And I wait until the page is loaded 5ms

And I click the "Delete" button 752ms

And I wait until the page is loaded 3ms

Then I should see "has been deleted" 5ms

When I go to "/admin/content/trash" 746ms

And I wait until the page is loaded 3ms

And I open the "Purge" link in the "Functional testing suite edited resource" row 715ms

And I wait until the page is loaded 4ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 778ms

And I wait until the page is loaded 5ms

Then I should see "has been permanently deleted" 6ms

And I should not see "Functional testing suite edited resource" in the "table" element 30s 5ms

@check @regression @slow @crud @editorial @local @development
Scenario:Verify that a Resource cannot be saved without its required fields
10

Given I am a logged in user with the "webmaster" user 2s 22ms

Then I should see "Log out" 6ms

When I go to "/node/add/blog" 10s 654ms

And I wait until the page is loaded 10s 10ms

Given browser validation for the form "#node-blog-form" is disabled 1ms

When I submit by id "edit-submit" 9s 506ms

And I wait until the page is loaded 10s 10ms

Then I should see "Title field is required" 9ms

And I should see "Description field is required" 7ms

And I should not see "has been created" 4ms

@check @regression @slow @security @crud @editorial @local @development
Scenario:Verify that a draft Resource is not readable by a visitor
35

Given I am a logged in user with the "webmaster" user 2s 25ms

Then I should see "Log out" 6ms

When I go to "/node/add/blog" 10s 671ms

And I wait until the page is loaded 10s 10ms

And I fill in "Title" with "Functional testing suite draft resource" 1s 824ms

And I fill in "Description" with "This draft must never be readable by an anonymous visitor." 1s 807ms

And I select "Draft" from "#edit-moderation-state-0-state" 1s 804ms

And I submit by id "edit-submit" 8s 10ms

And I wait until the page is loaded 3ms

Then I should see "has been created" 6ms

Given I am an anonymous user 866ms

When I go to "/resources/functional-testing-suite-draft-resource" 640ms

And I wait until the page is loaded 3ms

Then the response status code should be 404 13ms

When I go to "/resources" 1s 663ms

And I wait until the page is loaded 4ms

Then I should not see "Functional testing suite draft resource" 3ms

Given I am a logged in user with the "webmaster" user 1s 959ms

Then I should see "Log out" 5ms

When I go to "/admin/content?title=Functional+testing+suite+draft+resource" 752ms

And I wait until the page is loaded 3ms

And I open the "Delete" link in the "Functional testing suite draft resource" row 681ms

And I wait until the page is loaded 3ms

And I click the "Delete" button 786ms

And I wait until the page is loaded 3ms

Then I should see "has been deleted" 3ms

When I go to "/admin/content/trash" 752ms

And I wait until the page is loaded 3ms

And I open the "Purge" link in the "Functional testing suite draft resource" row 677ms

And I wait until the page is loaded 3ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 774ms

And I wait until the page is loaded 3ms

Then I should see "has been permanently deleted" 6ms

And I should not see "Functional testing suite draft resource" in the "table" element 30s 5ms

@any @regression @content @editorial @acceptance
Feature:Editorial - Event - create, read, update and delete 4

As a content editor
I want to create, read, update and delete an Event through the admin UI
So that the Event content type and its date range are usable end to end.

@check @acceptance @slow @crud @editorial @local @development
Scenario:Check that an Event can be created with a date range and read by a visitor
46

Given I am a logged in user with the "webmaster" user 4s 636ms

Then I should see "Log out" 9ms

When I go to "/node/add/event" 15s 567ms

And I wait until the page is loaded 10s 11ms

Then I should see "Create Event" 10ms

When I fill in "Title" with "Functional testing suite event" 1s 821ms

And I fill in "Description" with "An Event created by the Horizon Aid functional testing suite." 1s 816ms

And I fill in "Location" with "Test Hall, Ground Floor" 1s 818ms

And I fill in "edit-field-when-0-time-wrapper-value-date" with "2030-05-14" by its "id" attribute 1s 809ms

And I fill in "edit-field-when-0-time-wrapper-value-time" with "09:00" by its "id" attribute 1s 810ms

And I fill in the rich text editor field "Body" with "<p>The body of the round-trip event.</p>" 9s 565ms

And I submit by id "edit-submit" 9s 510ms

And I wait until the page is loaded 10s 11ms

Then I should see "Event Functional testing suite event has been created." 10ms

Then "h1" should have text "Functional testing suite event" within 10 seconds 3ms

Given I am an anonymous user 1s 829ms

When I go to "/events/functional-testing-suite-event" 1s 250ms

And I wait until the page is loaded 5ms

Then the response status code should be 200 20ms

And "h1" should have text "Functional testing suite event" within 10 seconds 2ms

And I should see "An Event created by the Horizon Aid functional testing suite." 4ms

And I should see "The body of the round-trip event." 2ms

And I should see "14 May 2030" 2ms

Given I am a logged in user with the "webmaster" user 2s 166ms

Then I should see "Log out" 10ms

When I go to "/admin/content?title=Functional+testing+suite+event" 10s 405ms

And I wait until the page is loaded 10s 11ms

And I open the "Delete" link in the "Functional testing suite event" row 970ms

And I wait until the page is loaded 6ms

Then I should see "Are you sure you want to delete" 7ms

When I click the "Delete" button 996ms

And I wait until the page is loaded 6ms

Then I should see "has been deleted" 6ms

When I go to "/admin/content/trash" 10s 264ms

And I wait until the page is loaded 10s 11ms

And I open the "Purge" link in the "Functional testing suite event" row 932ms

And I wait until the page is loaded 6ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 960ms

And I wait until the page is loaded 6ms

Then I should see "has been permanently deleted" 6ms

And I should not see "Functional testing suite event" in the "table" element 30s 12ms

Given I am an anonymous user 710ms

When I go to "/events/functional-testing-suite-event" 595ms

And I wait until the page is loaded 9ms

Then the response status code should be 404 194ms

@check @acceptance @crud @editorial @local @development
Scenario:Verify that moving an Event to another date persists
53

Given I am a logged in user with the "webmaster" user 2s 439ms

Then I should see "Log out" 9ms

When I go to "/node/add/event" 11s 770ms

And I wait until the page is loaded 10s 11ms

And I fill in "Title" with "Functional testing suite moved event" 1s 824ms

And I fill in "Description" with "An Event the suite is about to move." 1s 822ms

And I fill in "Location" with "Test Hall, Ground Floor" 1s 825ms

And I fill in "edit-field-when-0-time-wrapper-value-date" with "2030-05-14" by its "id" attribute 1s 811ms

And I fill in "edit-field-when-0-time-wrapper-value-time" with "09:00" by its "id" attribute 1s 812ms

And I submit by id "edit-submit" 9s 512ms

And I wait until the page is loaded 10s 10ms

Then I should see "has been created" 11ms

When I go to "/admin/content?title=Functional+testing+suite+moved+event" 924ms

And I wait until the page is loaded 8ms

And I open the "Edit" link in the "Functional testing suite moved event" row 9s 814ms

And I wait until the page is loaded 10s 8ms

Then I should see "2030-05-14" value in the "edit-field-when-0-time-wrapper-value-date" input element 1ms

And I should see "09:00" value in the "edit-field-when-0-time-wrapper-value-time" input element 1ms

And I should see "Test Hall, Ground Floor" value in the "edit-field-location-0-value" input element < 1ms

When I fill in "edit-field-when-0-time-wrapper-value-date" with "2030-06-20" by its "id" attribute 1s 810ms

And I fill in "Location" with "Main Auditorium, First Floor" 1s 822ms

And I submit by id "edit-submit" 982ms

And I wait until the page is loaded 6ms

Then I should see "has been updated" 6ms

When I go to "/admin/content?title=Functional+testing+suite+moved+event" 829ms

And I wait until the page is loaded 5ms

And I open the "Edit" link in the "Functional testing suite moved event" row 9s 492ms

And I wait until the page is loaded 10s 11ms

Then I should see "2030-06-20" value in the "edit-field-when-0-time-wrapper-value-date" input element 1ms

And I should see "Main Auditorium, First Floor" value in the "edit-field-location-0-value" input element 1ms

Given I am an anonymous user 1s 73ms

When I go to "/events/functional-testing-suite-moved-event" 738ms

And I wait until the page is loaded 6ms

Then I should see "20 June 2030" 4ms

And I should not see "14 May 2030" 3ms

Given I am a logged in user with the "webmaster" user 2s 155ms

Then I should see "Log out" 6ms

When I go to "/admin/content?title=Functional+testing+suite+moved+event" 824ms

And I wait until the page is loaded 7ms

And I open the "Delete" link in the "Functional testing suite moved event" row 807ms

And I wait until the page is loaded 6ms

And I click the "Delete" button 927ms

And I wait until the page is loaded 6ms

Then I should see "has been deleted" 5ms

When I go to "/admin/content/trash" 854ms

And I wait until the page is loaded 5ms

And I open the "Purge" link in the "Functional testing suite moved event" row 790ms

And I wait until the page is loaded 6ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 847ms

And I wait until the page is loaded 5ms

Then I should see "has been permanently deleted" 5ms

And I should not see "Functional testing suite moved event" in the "table" element 30s 8ms

@check @regression @slow @crud @editorial @local @development
Scenario:Verify that an Event cannot be saved without a title
9

Given I am a logged in user with the "webmaster" user 2s 239ms

Then I should see "Log out" 7ms

When I go to "/node/add/event" 11s 285ms

And I wait until the page is loaded 5ms

Given browser validation for the form "#node-event-form" is disabled 1ms

When I submit by id "edit-submit" 9s 510ms

And I wait until the page is loaded 10s 3ms

Then I should see "Title field is required" 12ms

And I should not see "has been created" 6ms

@check @regression @security @crud @editorial @local @development
Scenario:Verify that an unpublished Event is not readable by a visitor
34

Given I am a logged in user with the "webmaster" user 2s 300ms

Then I should see "Log out" 7ms

When I go to "/node/add/event" 11s 341ms

And I wait until the page is loaded 10s 10ms

And I fill in "Title" with "Functional testing suite unpublished event" 1s 820ms

And I fill in "Description" with "This event must never be readable by an anonymous visitor." 1s 816ms

And I fill in "edit-field-when-0-time-wrapper-value-date" with "2030-07-01" by its "id" attribute 1s 808ms

And I fill in "edit-field-when-0-time-wrapper-value-time" with "09:00" by its "id" attribute 1s 807ms

And I uncheck "Published" 1s 841ms

And I submit by id "edit-submit" 9s 508ms

And I wait until the page is loaded 10s 10ms

Then I should see "has been created" 8ms

Given I am an anonymous user 1s 39ms

When I go to "/events/functional-testing-suite-unpublished-event" 1s 220ms

And I wait until the page is loaded 5ms

Then the response status code should be 404 18ms

Given I am a logged in user with the "webmaster" user 2s 257ms

Then I should see "Log out" 6ms

When I go to "/admin/content?title=Functional+testing+suite+unpublished+event" 10s 124ms

And I wait until the page is loaded 10s 10ms

And I open the "Delete" link in the "Functional testing suite unpublished event" row 816ms

And I wait until the page is loaded 7ms

And I click the "Delete" button 900ms

And I wait until the page is loaded 5ms

Then I should see "has been deleted" 7ms

When I go to "/admin/content/trash" 856ms

And I wait until the page is loaded 5ms

And I open the "Purge" link in the "Functional testing suite unpublished event" row 807ms

And I wait until the page is loaded 6ms

And I wait until the page title contains "Are you sure you want to permanently delete" 2ms

When I submit by id "edit-submit" 895ms

And I wait until the page is loaded 5ms

Then I should see "has been permanently deleted" 5ms

And I should not see "Functional testing suite unpublished event" in the "table" element 30s 7ms

@any @regression @content @editorial @acceptance
Feature:Editorial - Utility page - create, read, update and delete 4

As a content editor
I want to create, read, update and delete a Utility page through the admin UI
So that standalone pages such as Privacy or Terms work end to end.

Given I am a logged in user with the "webmaster" user 2s 237ms

Then I should see "Log out" 7ms

When I go to "/node/add/page" 10s 918ms

And I wait until the page is loaded 10s 10ms

Then I should see "Create Utility page" 8ms

When I fill in "Title" with "Functional testing suite utility page" 1s 813ms

And I fill in "edit-field-description-0-value" with "A Utility page created by the Horizon Aid functional testing suite." by its "id" attribute 1s 808ms

And I fill in the rich text editor field "Content" with "<p>The body of the round-trip utility page.</p>" 9s 518ms

And I select "Published" from "#edit-moderation-state-0-state" 1s 807ms

And I submit by id "edit-submit" 9s 510ms

And I wait until the page is loaded 10s 10ms

Then I should see "Utility page Functional testing suite utility page has been created." 7ms

Given I am an anonymous user 1s 33ms

When I go to "/functional-testing-suite-utility-page" 1s 218ms

And I wait until the page is loaded 5ms

Then the response status code should be 200 9ms

And I should see "The body of the round-trip utility page." 3ms

Given I am a logged in user with the "webmaster" user 2s 116ms

Then I should see "Log out" 9ms

When I go to "/admin/content?title=Functional+testing+suite+utility+page" 860ms

And I wait until the page is loaded 7ms

And I open the "Delete" link in the "Functional testing suite utility page" row 768ms

And I wait until the page is loaded 6ms

Then I should see "Are you sure you want to delete" 5ms

When I click the "Delete" button 936ms

And I wait until the page is loaded 7ms

Then I should see "has been deleted" 5ms

When I go to "/admin/content/trash" 847ms

And I wait until the page is loaded 5ms

And I open the "Purge" link in the "Functional testing suite utility page" row 792ms

And I wait until the page is loaded 5ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 864ms

And I wait until the page is loaded 5ms

Then I should see "has been permanently deleted" 5ms

And I should not see "Functional testing suite utility page" in the "table" element 30s 7ms

Given I am an anonymous user 693ms

When I go to "/functional-testing-suite-utility-page" 566ms

And I wait until the page is loaded 5ms

Then the response status code should be 404 156ms

@check @acceptance @slow @crud @editorial @local @development
Scenario:Verify that an edit to a Utility page persists to the public page
46

Given I am a logged in user with the "webmaster" user 2s 245ms

Then I should see "Log out" 8ms

When I go to "/node/add/page" 10s 738ms

And I wait until the page is loaded 10s 11ms

And I fill in "Title" with "Functional testing suite edited utility page" 1s 816ms

And I fill in "edit-field-description-0-value" with "A Utility page the suite is about to edit." by its "id" attribute 1s 807ms

And I fill in the rich text editor field "Content" with "<p>The first version of the page body.</p>" 9s 516ms

And I select "Published" from "#edit-moderation-state-0-state" 1s 806ms

And I submit by id "edit-submit" 9s 510ms

And I wait until the page is loaded 6ms

Then I should see "has been created" 8ms

When I go to "/admin/content?title=Functional+testing+suite+edited+utility+page" 859ms

And I wait until the page is loaded 5ms

And I open the "Edit" link in the "Functional testing suite edited utility page" row 9s 72ms

And I wait until the page is loaded 10s 12ms

Then I should see "Functional testing suite edited utility page" value in the "edit-title-0-value" input element 1ms

And I should see "A Utility page the suite is about to edit." value in the "edit-field-description-0-value" input element 1ms

When I fill in the rich text editor field "Content" with "<p>The revised version of the page body.</p>" 9s 520ms

And I select "Published" from "#edit-moderation-state-0-state" 1s 809ms

And I submit by id "edit-submit" 1s 14ms

And I wait until the page is loaded 5ms

Then I should see "has been updated" 7ms

Given I am an anonymous user 1s 20ms

When I go to "/functional-testing-suite-edited-utility-page" 732ms

And I wait until the page is loaded 5ms

Then the response status code should be 200 11ms

And I should see "The revised version of the page body." 4ms

And I should not see "The first version of the page body." 2ms

Given I am a logged in user with the "webmaster" user 2s 113ms

Then I should see "Log out" 8ms

When I go to "/admin/content?title=Functional+testing+suite+edited+utility+page" 838ms

And I wait until the page is loaded 5ms

And I open the "Delete" link in the "Functional testing suite edited utility page" row 794ms

And I wait until the page is loaded 5ms

And I click the "Delete" button 907ms

And I wait until the page is loaded 5ms

Then I should see "has been deleted" 6ms

When I go to "/admin/content/trash" 851ms

And I wait until the page is loaded 5ms

And I open the "Purge" link in the "Functional testing suite edited utility page" row 787ms

And I wait until the page is loaded 6ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 824ms

And I wait until the page is loaded 7ms

Then I should see "has been permanently deleted" 5ms

And I should not see "Functional testing suite edited utility page" in the "table" element 30s 6ms

@check @regression @slow @crud @editorial @local @development
Scenario:Verify that a Utility page cannot be saved without its required fields
10

Given I am a logged in user with the "webmaster" user 2s 253ms

Then I should see "Log out" 8ms

When I go to "/node/add/page" 10s 766ms

And I wait until the page is loaded 10s 11ms

Given browser validation for the form "#node-page-form" is disabled 1ms

When I submit by id "edit-submit" 9s 508ms

And I wait until the page is loaded 10s 4ms

Then I should see "Title field is required" 11ms

And I should see "Description field is required" 8ms

And I should not see "has been created" 5ms

@check @regression @slow @security @crud @editorial @local @development
Scenario:Verify that a draft Utility page is not readable by a visitor
32

Given I am a logged in user with the "webmaster" user 2s 240ms

Then I should see "Log out" 7ms

When I go to "/node/add/page" 10s 765ms

And I wait until the page is loaded 10s 11ms

And I fill in "Title" with "Functional testing suite draft utility page" 1s 816ms

And I fill in "edit-field-description-0-value" with "This draft must never be readable by an anonymous visitor." by its "id" attribute 1s 807ms

And I select "Draft" from "#edit-moderation-state-0-state" 1s 805ms

And I submit by id "edit-submit" 9s 508ms

And I wait until the page is loaded 10s 9ms

Then I should see "has been created" 9ms

Given I am an anonymous user 1s 36ms

When I go to "/functional-testing-suite-draft-utility-page" 711ms

And I wait until the page is loaded 5ms

Then the response status code should be 404 16ms

Given I am a logged in user with the "webmaster" user 2s 182ms

Then I should see "Log out" 7ms

When I go to "/admin/content?title=Functional+testing+suite+draft+utility+page" 851ms

And I wait until the page is loaded 5ms

And I open the "Delete" link in the "Functional testing suite draft utility page" row 796ms

And I wait until the page is loaded 5ms

And I click the "Delete" button 938ms

And I wait until the page is loaded 6ms

Then I should see "has been deleted" 5ms

When I go to "/admin/content/trash" 842ms

And I wait until the page is loaded 7ms

And I open the "Purge" link in the "Functional testing suite draft utility page" row 790ms

And I wait until the page is loaded 6ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 891ms

And I wait until the page is loaded 5ms

Then I should see "has been permanently deleted" 9ms

And I should not see "Functional testing suite draft utility page" in the "table" element 30s 8ms

@any @regression @content @editorial @acceptance
Feature:Editorial - Media - upload, read, rename and delete 3

As a content editor
I want to upload, read, rename and delete media through the admin UI
So that the media types Horizon Aid's content actually uses work end to end.

@check @acceptance @slow @crud @editorial @local @development
Scenario:Check that an Image media item can be uploaded, read, renamed and deleted
43

Given I am a logged in user with the "webmaster" user 4s 711ms

Then I should see "Log out" 8ms

When I go to "/media/add/image" 1s 139ms

And I wait until the page is loaded 7ms

Then I should see "Add Image" 7ms

When I attach the file "horizonaid-test-image.png" to "#edit-field-media-image-0-upload" 1s 817ms

And I wait for AJAX to finish 10s 3ms

When I wait for the text "Alternative text" to appear 3ms

When I fill in "Name" with "Functional testing suite image" 320ms

And I fill in "Alternative text" with "A four by four test image" 316ms

And I submit by id "edit-submit" 2s 144ms

And I wait until the page is loaded 7ms

Then I should see "Image Functional testing suite image has been created." 17ms

When I go to "/admin/content/media?name=Functional+testing+suite+image" 878ms

And I wait until the page is loaded 5ms

Then I should see "Functional testing suite image" 6ms

When I open the "Edit" link in the "Functional testing suite image" row 1s 123ms

And I wait until the page is loaded 6ms

Then I should see "Functional testing suite image" value in the "edit-name-0-value" input element 1ms

When I fill in "Name" with "Functional testing suite renamed image" 318ms

And I submit by id "edit-submit" 982ms

And I wait until the page is loaded 5ms

When I go to "/admin/content/media?name=Functional+testing+suite" 833ms

And I wait until the page is loaded 9ms

Then I should see "Functional testing suite renamed image" 8ms

And I should not see "Functional testing suite image" 9ms

When I open the "Delete" link in the "Functional testing suite renamed image" row 973ms

And I wait until the page is loaded 6ms

Then I should see "Are you sure you want to delete" 5ms

When I click the "Delete" button 932ms

And I wait until the page is loaded 6ms

When I go to "/admin/content/media?name=Functional+testing+suite" 799ms

And I wait until the page is loaded 5ms

Then I should not see "Functional testing suite renamed image" 3ms

When I go to "/admin/content/trash/media" 10s 408ms

And I wait until the page is loaded 10s 6ms

And I open the "Purge" link in the "Functional testing suite renamed image" row 946ms

And I wait until the page is loaded 7ms

And I wait until the page title contains "Are you sure you want to permanently delete" 2ms

When I submit by id "edit-submit" 971ms

And I wait until the page is loaded 5ms

Then I should see "has been permanently deleted" 8ms

And I should not see "Functional testing suite renamed image" in the "table" element 30s 8ms

@check @acceptance @slow @crud @editorial @local @development
Scenario:Check that a Document media item can be uploaded, read, renamed and deleted
39

Given I am a logged in user with the "webmaster" user 2s 252ms

Then I should see "Log out" 7ms

When I go to "/media/add/document" 963ms

And I wait until the page is loaded 6ms

Then I should see "Add Document" 10ms

When I attach the file "horizonaid-test-document.txt" to "#edit-field-media-document-0-upload" 1s 815ms

And I wait for AJAX to finish 10s 1ms

And I should see "horizonaid-test-document" 5ms

When I fill in "Name" with "Functional testing suite document" 316ms

And I submit by id "edit-submit" 1s 437ms

And I wait until the page is loaded 6ms

Then I should see "Document Functional testing suite document has been created." 14ms

When I go to "/admin/content/media?name=Functional+testing+suite+document" 878ms

And I wait until the page is loaded 5ms

Then I should see "Functional testing suite document" 5ms

When I open the "Edit" link in the "Functional testing suite document" row 997ms

And I wait until the page is loaded 6ms

And I fill in "Name" with "Functional testing suite renamed document" 317ms

And I submit by id "edit-submit" 853ms

And I wait until the page is loaded 5ms

When I go to "/admin/content/media?name=Functional+testing+suite" 827ms

And I wait until the page is loaded 5ms

Then I should see "Functional testing suite renamed document" 5ms

When I open the "Delete" link in the "Functional testing suite renamed document" row 801ms

And I wait until the page is loaded 6ms

And I click the "Delete" button 913ms

And I wait until the page is loaded 6ms

When I go to "/admin/content/media?name=Functional+testing+suite" 798ms

And I wait until the page is loaded 7ms

Then I should not see "Functional testing suite renamed document" 7ms

When I go to "/admin/content/trash/media" 10s 122ms

And I wait until the page is loaded 10s 6ms

And I open the "Purge" link in the "Functional testing suite renamed document" row 869ms

And I wait until the page is loaded 7ms

And I wait until the page title contains "Are you sure you want to permanently delete" 3ms

When I submit by id "edit-submit" 888ms

And I wait until the page is loaded 7ms

Then I should see "has been permanently deleted" 8ms

And I should not see "Functional testing suite renamed document" in the "table" element 30s 8ms

Given I am a logged in user with the "webmaster" user 2s 363ms

Then I should see "Log out" 8ms

When I go to "/media/add/image" 962ms

And I wait until the page is loaded 10ms

And I attach the file "horizonaid-test-image.png" to "#edit-field-media-image-0-upload" 1s 819ms

And I wait for AJAX to finish 10s 3ms

When I wait for the text "Alternative text" to appear 3ms

When I fill in "Name" with "Functional testing suite featured image" 322ms

And I fill in "Alternative text" with "A four by four test image" 317ms

And I submit by id "edit-submit" 1s 545ms

And I wait until the page is loaded 9ms

Then I should see "has been created" 24ms

When I go to "/node/add/blog" 13s 916ms

And I wait until the page is loaded 10s 6ms

And I fill in "Title" with "Functional testing suite media carrier" 1s 858ms

And I fill in "Description" with "A Resource carrying an uploaded featured image." 1s 817ms

And I open the "field_featured_image" media library 8s 362ms

And I wait for the modal to appear 4ms

Then I should see "Add or select media" in the modal 1s 509ms

When I select the media "Functional testing suite featured image" 9s 853ms

And I submit the media library dialog 9s 513ms

And I wait for the modal to disappear 2ms

And I select "Published" from "#edit-moderation-state-0-state" 1s 807ms

And I submit by id "edit-submit" 9s 505ms

And I wait until the page is loaded 10s 10ms

Then I should see "has been created" 8ms

Given I am an anonymous user 1s 835ms

When I go to "/resources/functional-testing-suite-media-carrier" 1s 413ms

And I wait until the page is loaded 6ms

Then the response status code should be 200 22ms

And I should see image with the "A four by four test image" alt text 2ms

Given I am a logged in user with the "webmaster" user 2s 85ms

Then I should see "Log out" 9ms

When I go to "/admin/content?title=Functional+testing+suite+media+carrier" 10s 178ms

And I wait until the page is loaded 7ms

And I open the "Delete" link in the "Functional testing suite media carrier" row 830ms

And I wait until the page is loaded 6ms

And I click the "Delete" button 920ms

And I wait until the page is loaded 6ms

When I go to "/admin/content/media?name=Functional+testing+suite+featured+image" 10s 119ms

And I wait until the page is loaded 10s 1ms

And I open the "Delete" link in the "Functional testing suite featured image" row 803ms

And I wait until the page is loaded 6ms

And I click the "Delete" button 932ms

And I wait until the page is loaded 5ms

When I go to "/admin/content/media?name=Functional+testing+suite" 749ms

And I wait until the page is loaded 5ms

Then I should not see "Functional testing suite featured image" 3ms

When I go to "/admin/content/trash" 10s 137ms

And I wait until the page is loaded 10s 3ms

And I open the "Purge" link in the "Functional testing suite media carrier" row 826ms

And I wait until the page is loaded 6ms

And I wait until the page title contains "Are you sure you want to permanently delete" 1ms

When I submit by id "edit-submit" 921ms

And I wait until the page is loaded 5ms

Then I should see "has been permanently deleted" 6ms

And I should not see "Functional testing suite media carrier" in the "table" element 30s 9ms

When I go to "/admin/content/trash/media" 864ms

And I wait until the page is loaded 5ms

And I open the "Purge" link in the "Functional testing suite featured image" row 746ms

And I wait until the page is loaded 6ms

And I wait until the page title contains "Are you sure you want to permanently delete" 2ms

When I submit by id "edit-submit" 833ms

And I wait until the page is loaded 5ms

Then I should see "has been permanently deleted" 5ms

And I should not see "Functional testing suite featured image" in the "table" element 30s 7ms

As a site builder
I want the admin account to reach the content, media and page-creation surfaces
So that the editorial toolchain the recipe wires up actually works after install.

@check @regression @slow @editorial @local @development
Scenario:Check that the webmaster reaches the content listing
7

Given I am a logged in user with the "webmaster" user 2s 231ms

Then I should see "Log out" 8ms

When I go to "/admin/content" 1s 319ms

And I wait until the page is loaded 6ms

Then I should see "Content" 15ms

And I should not see "Access denied" 7ms

And I should not see "The website encountered an unexpected error" 4ms

@check @regression @editorial @local @development
Scenario:Check that the webmaster reaches the media library
7

Given I am a logged in user with the "webmaster" user 2s 233ms

Then I should see "Log out" 7ms

When I go to "/admin/content/media" 1s 295ms

And I wait until the page is loaded 5ms

Then I should see "Media" 14ms

And I should not see "Access denied" 6ms

And I should not see "The website encountered an unexpected error" 4ms

@check @regression @slow @editorial @local @development
Scenario:Check that the webmaster can start a new page
8

Given I am a logged in user with the "webmaster" user 2s 225ms

Then I should see "Log out" 7ms

When I go to "/node/add/page" 10s 837ms

And I wait until the page is loaded 10s 7ms

Then I should see "Create Utility page" 8ms

And I should see a "Title" element 8ms

And I should not see "Access denied" 5ms

And I should not see "The website encountered an unexpected error" 4ms

@check @regression @slow @editorial @local @development
Scenario Outline:Check that the webmaster can start a new Country
7

Given I am a logged in user with the "webmaster" user 2s 222ms

Then I should see "Log out" 8ms

When I go to "/node/add/country" 13s 529ms

And I wait until the page is loaded 10s 11ms

Then I should see "Create Country" 9ms

And I should see a "Title" element 10ms

And I should not see "The website encountered an unexpected error" 5ms

@check @regression @slow @editorial @local @development
Scenario Outline:Check that the webmaster can start a new Program
7

Given I am a logged in user with the "webmaster" user 2s 217ms

Then I should see "Log out" 7ms

When I go to "/node/add/program" 11s 670ms

And I wait until the page is loaded 10s 1ms

Then I should see "Create Program" 15ms

And I should see a "Title" element 19ms

And I should not see "The website encountered an unexpected error" 9ms

@check @regression @slow @editorial @local @development
Scenario Outline:Check that the webmaster can start a new Event
7

Given I am a logged in user with the "webmaster" user 2s 256ms

Then I should see "Log out" 8ms

When I go to "/node/add/event" 11s 386ms

And I wait until the page is loaded 10s 11ms

Then I should see "Create Event" 9ms

And I should see a "Title" element 10ms

And I should not see "The website encountered an unexpected error" 6ms

@check @regression @slow @editorial @local @development
Scenario Outline:Check that the webmaster can start a new Blog post
7

Given I am a logged in user with the "webmaster" user 2s 253ms

Then I should see "Log out" 7ms

When I go to "/node/add/blog" 10s 991ms

And I wait until the page is loaded 10s 10ms

Then I should see "Create Blog post" 8ms

And I should see a "Title" element 8ms

And I should not see "The website encountered an unexpected error" 6ms

@check @regression @slow @editorial @local @development
Scenario Outline:Check that the webmaster can start a new Utility page
7

Given I am a logged in user with the "webmaster" user 2s 274ms

Then I should see "Log out" 7ms

When I go to "/node/add/page" 10s 751ms

And I wait until the page is loaded 10s 4ms

Then I should see "Create Utility page" 8ms

And I should see a "Title" element 7ms

And I should not see "The website encountered an unexpected error" 5ms

As a site builder taking over a Horizon Aid site
I want every Canvas page the recipe ships to be listed for editing
So that the pages can be maintained, not just viewed.

@check @smoke @canvas @local @development @staging @production
Scenario:Check that every Canvas page the recipe ships is listed for a site builder
13

Given I am a logged in user with the "webmaster" user 4s 655ms

Then I should see "Log out" 9ms

When I go to "/admin/content/pages" 1s 228ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Pages" within 10 seconds 2ms

And I should see "Home" 6ms

And I should see "About" 5ms

And I should see "Countries" 4ms

And I should see "Our Programs" 4ms

And I should see "Resources" 4ms

And I should see "Events" 8ms

And I should see "Our Impact" 5ms

And I should see "Donate" 5ms

@check @smoke @canvas @local @development @staging @production
Scenario Outline:Check that the "Home" Canvas page row offers the editor
5

Given I am a logged in user with the "webmaster" user 2s 271ms

Then I should see "Log out" 8ms

When I go to "/admin/content/pages" 886ms

And I wait until the page is loaded 6ms

Then I should see the "Edit" operation for the "Home" content 1ms

@check @smoke @canvas @local @development @staging @production
Scenario Outline:Check that the "About" Canvas page row offers the editor
5

Given I am a logged in user with the "webmaster" user 2s 248ms

Then I should see "Log out" 8ms

When I go to "/admin/content/pages" 879ms

And I wait until the page is loaded 8ms

Then I should see the "Edit" operation for the "About" content 2ms

@check @smoke @canvas @local @development @staging @production
Scenario Outline:Check that the "Countries" Canvas page row offers the editor
5

Given I am a logged in user with the "webmaster" user 2s 226ms

Then I should see "Log out" 7ms

When I go to "/admin/content/pages" 891ms

And I wait until the page is loaded 7ms

Then I should see the "Edit" operation for the "Countries" content 2ms

@check @smoke @canvas @local @development @staging @production
Scenario Outline:Check that the "Our Programs" Canvas page row offers the editor
5

Given I am a logged in user with the "webmaster" user 2s 277ms

Then I should see "Log out" 8ms

When I go to "/admin/content/pages" 867ms

And I wait until the page is loaded 6ms

Then I should see the "Edit" operation for the "Our Programs" content 1ms

@check @smoke @canvas @local @development @staging @production
Scenario Outline:Check that the "Resources" Canvas page row offers the editor
5

Given I am a logged in user with the "webmaster" user 2s 223ms

Then I should see "Log out" 8ms

When I go to "/admin/content/pages" 886ms

And I wait until the page is loaded 6ms

Then I should see the "Edit" operation for the "Resources" content 2ms

@check @smoke @canvas @local @development @staging @production
Scenario Outline:Check that the "Events" Canvas page row offers the editor
5

Given I am a logged in user with the "webmaster" user 2s 331ms

Then I should see "Log out" 8ms

When I go to "/admin/content/pages" 886ms

And I wait until the page is loaded 5ms

Then I should see the "Edit" operation for the "Events" content 1ms

@check @smoke @canvas @local @development @staging @production
Scenario Outline:Check that the "Our Impact" Canvas page row offers the editor
5

Given I am a logged in user with the "webmaster" user 2s 284ms

Then I should see "Log out" 7ms

When I go to "/admin/content/pages" 884ms

And I wait until the page is loaded 5ms

Then I should see the "Edit" operation for the "Our Impact" content 1ms

@check @smoke @canvas @local @development @staging @production
Scenario Outline:Check that the "Donate" Canvas page row offers the editor
5

Given I am a logged in user with the "webmaster" user 2s 275ms

Then I should see "Log out" 7ms

When I go to "/admin/content/pages" 873ms

And I wait until the page is loaded 7ms

Then I should see the "Edit" operation for the "Donate" content 1ms

As a site builder taking over a Horizon Aid site
I want the Home and About Canvas pages to open in the Canvas editor
So that they can be edited, not just viewed.

@check @acceptance @canvas @nightly @local @development @staging @production
Scenario Outline:Check that the Home Canvas page opens in the Canvas editor
5

Given I am a logged in user with the "webmaster" user 10s 261ms

Then I should see "Log out" 10ms

When I open the "Home" Canvas page in the editor 9s 568ms

Then the url should match "/canvas/editor/canvas_page/" < 1ms

And the "Library" button should be visible within 60 seconds 19ms

@check @acceptance @canvas @nightly @local @development @staging @production
Scenario Outline:Check that the About Canvas page opens in the Canvas editor
5

Given I am a logged in user with the "webmaster" user 2s 200ms

Then I should see "Log out" 8ms

When I open the "About" Canvas page in the editor 8s 872ms

Then the url should match "/canvas/editor/canvas_page/" < 1ms

And the "Library" button should be visible within 60 seconds 24ms

@check @acceptance @canvas @nightly @local @development @staging @production
Scenario:Check that the About Canvas page renders for a visitor and opens for a builder
10

Given I am an anonymous user 1s 831ms

When I go to "/about" 1s 669ms

And I wait until the page is loaded 5ms

Then the response status code should be 200 19ms

And "h1" should have text "About Us" within 10 seconds 2ms

Given I am a logged in user with the "webmaster" user 2s 234ms

Then I should see "Log out" 7ms

When I open the "About" Canvas page in the editor 8s 848ms

Then the url should match "/canvas/editor/canvas_page/" < 1ms

And the "Library" button should be visible within 60 seconds 28ms

As a site builder taking over a Horizon Aid site
I want the Countries and Our Programs Canvas pages to open in the Canvas editor
So that they can be edited, not just viewed.

@check @acceptance @canvas @nightly @local @development @staging @production
Scenario Outline:Check that the Countries Canvas page opens in the Canvas editor
5

Given I am a logged in user with the "webmaster" user 9s 717ms

Then I should see "Log out" 7ms

When I open the "Countries" Canvas page in the editor 9s 290ms

Then the url should match "/canvas/editor/canvas_page/" < 1ms

And the "Library" button should be visible within 60 seconds 16ms

@check @acceptance @canvas @nightly @local @development @staging @production
Scenario Outline:Check that the Our Programs Canvas page opens in the Canvas editor
5

Given I am a logged in user with the "webmaster" user 2s 110ms

Then I should see "Log out" 6ms

When I open the "Our Programs" Canvas page in the editor 8s 762ms

Then the url should match "/canvas/editor/canvas_page/" < 1ms

And the "Library" button should be visible within 60 seconds 16ms

As a site builder taking over a Horizon Aid site
I want the Resources and Events Canvas pages to open in the Canvas editor
So that they can be edited, not just viewed.

@check @acceptance @canvas @nightly @local @development @staging @production
Scenario Outline:Check that the Resources Canvas page opens in the Canvas editor
5

Given I am a logged in user with the "webmaster" user 3s 741ms

Then I should see "Log out" 7ms

When I open the "Resources" Canvas page in the editor 9s 165ms

Then the url should match "/canvas/editor/canvas_page/" < 1ms

And the "Library" button should be visible within 60 seconds 12ms

@check @acceptance @canvas @nightly @local @development @staging @production
Scenario Outline:Check that the Events Canvas page opens in the Canvas editor
5

Given I am a logged in user with the "webmaster" user 2s 55ms

Then I should see "Log out" 9ms

When I open the "Events" Canvas page in the editor 9s 4ms

Then the url should match "/canvas/editor/canvas_page/" < 1ms

And the "Library" button should be visible within 60 seconds 11ms

As a site builder taking over a Horizon Aid site
I want the Our Impact and Donate Canvas pages to open in the Canvas editor
So that they can be edited, not just viewed.

@check @acceptance @canvas @nightly @local @development @staging @production
Scenario Outline:Check that the Our Impact Canvas page opens in the Canvas editor
5

Given I am a logged in user with the "webmaster" user 4s 573ms

Then I should see "Log out" 9ms

When I open the "Our Impact" Canvas page in the editor 9s 538ms

Then the url should match "/canvas/editor/canvas_page/" < 1ms

And the "Library" button should be visible within 60 seconds 16ms

@check @acceptance @canvas @nightly @local @development @staging @production
Scenario Outline:Check that the Donate Canvas page opens in the Canvas editor
5

Given I am a logged in user with the "webmaster" user 2s 320ms

Then I should see "Log out" 7ms

When I open the "Donate" Canvas page in the editor 8s 874ms

Then the url should match "/canvas/editor/canvas_page/" < 1ms

And the "Library" button should be visible within 60 seconds 17ms

As a security-conscious site owner
I want anonymous visitors kept out of every administrative surface
So that a permission regression in the recipe cannot expose the back office.

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the administration
4

Given I am an anonymous user 8s 995ms

When I go to "/admin" 944ms

And I wait until the page is loaded 18ms

Then the response status code should be 403 19ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the content listing
4

Given I am an anonymous user 1s 216ms

When I go to "/admin/content" 610ms

And I wait until the page is loaded 9ms

Then the response status code should be 403 11ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the media overview
4

Given I am an anonymous user 721ms

When I go to "/admin/content/media" 629ms

And I wait until the page is loaded 7ms

Then the response status code should be 403 13ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the Canvas pages
4

Given I am an anonymous user 720ms

When I go to "/admin/content/pages" 612ms

And I wait until the page is loaded 5ms

Then the response status code should be 403 9ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the people listing
4

Given I am an anonymous user 722ms

When I go to "/admin/people" 626ms

And I wait until the page is loaded 5ms

Then the response status code should be 403 9ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the permissions page
4

Given I am an anonymous user 727ms

When I go to "/admin/people/permissions" 618ms

And I wait until the page is loaded 8ms

Then the response status code should be 403 12ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the modules page
4

Given I am an anonymous user 718ms

When I go to "/admin/modules" 627ms

And I wait until the page is loaded 5ms

Then the response status code should be 403 12ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the appearance page
4

Given I am an anonymous user 722ms

When I go to "/admin/appearance" 626ms

And I wait until the page is loaded 5ms

Then the response status code should be 403 9ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the configuration
4

Given I am an anonymous user 732ms

When I go to "/admin/config" 631ms

And I wait until the page is loaded 5ms

Then the response status code should be 403 11ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the status report
4

Given I am an anonymous user 721ms

When I go to "/admin/reports/status" 627ms

And I wait until the page is loaded 5ms

Then the response status code should be 403 9ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused taxonomy admin
4

Given I am an anonymous user 723ms

When I go to "/admin/structure/taxonomy" 622ms

And I wait until the page is loaded 5ms

Then the response status code should be 403 9ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused content type admin
4

Given I am an anonymous user 724ms

When I go to "/admin/structure/types" 628ms

And I wait until the page is loaded 6ms

Then the response status code should be 403 8ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor cannot create Country content
4

Given I am an anonymous user 723ms

When I go to "/node/add/country" 625ms

And I wait until the page is loaded 6ms

Then the response status code should be 403 9ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor cannot create Program content
4

Given I am an anonymous user 721ms

When I go to "/node/add/program" 625ms

And I wait until the page is loaded 5ms

Then the response status code should be 403 8ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor cannot create Event content
4

Given I am an anonymous user 737ms

When I go to "/node/add/event" 617ms

And I wait until the page is loaded 5ms

Then the response status code should be 403 9ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor cannot create Blog post content
4

Given I am an anonymous user 722ms

When I go to "/node/add/blog" 634ms

And I wait until the page is loaded 6ms

Then the response status code should be 403 10ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor cannot create Utility page content
4

Given I am an anonymous user 730ms

When I go to "/node/add/page" 620ms

And I wait until the page is loaded 5ms

Then the response status code should be 403 10ms

@check @smoke @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor can read the country page
5

Given I am an anonymous user 729ms

When I go to "/countries/colombia" 1s 840ms

And I wait until the page is loaded 5ms

Then the response status code should be 200 11ms

And "h1" should have text "Colombia" within 10 seconds 3ms

@check @smoke @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor can read the program page
5

Given I am an anonymous user 724ms

When I go to "/programs/women" 2s 30ms

And I wait until the page is loaded 5ms

Then the response status code should be 200 8ms

And "h1" should have text "Women" within 10 seconds 2ms

@check @smoke @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor can read the resource page
5

Given I am an anonymous user 722ms

When I go to "/resources/emergency-relief-flooded-states" 2s 130ms

And I wait until the page is loaded 7ms

Then the response status code should be 200 12ms

And "h1" should have text "Emergency relief in flooded states" within 10 seconds 2ms

@check @smoke @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor can read the event page
5

Given I am an anonymous user 723ms

When I go to "/events/supply-chain-resilience-review" 1s 341ms

And I wait until the page is loaded 4ms

Then the response status code should be 200 8ms

And "h1" should have text "Supply chain resilience review" within 10 seconds 2ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the media edit route
4

Given I am an anonymous user 718ms

When I go to "/media/1/edit" 624ms

And I wait until the page is loaded 6ms

Then the response status code should be 403 10ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the media delete route
4

Given I am an anonymous user 730ms

When I go to "/media/1/delete" 631ms

And I wait until the page is loaded 7ms

Then the response status code should be 403 8ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the media creation route
4

Given I am an anonymous user 726ms

When I go to "/media/add/image" 612ms

And I wait until the page is loaded 6ms

Then the response status code should be 403 8ms

@check @regression @fast @security @permissions @local @development @staging @production
Scenario Outline:Check that an anonymous visitor is refused the the media grid route
4

Given I am an anonymous user 727ms

When I go to "/admin/content/media-grid" 630ms

And I wait until the page is loaded 5ms

Then the response status code should be 403 10ms

@check @smoke @fast @security @permissions @local @development @staging @production
Scenario:Check that an anonymous visitor can read a Canvas page but not edit it
11

Given I am an anonymous user 724ms

When I go to "/about" 1s 723ms

And I wait until the page is loaded 5ms

Then the response status code should be 200 9ms

And "h1" should have text "About Us" within 10 seconds 2ms

When I go to "/admin/content/pages" 582ms

And I wait until the page is loaded 4ms

Then the response status code should be 403 8ms

When I go to "/canvas/editor/canvas_page/1" 598ms

And I wait until the page is loaded 4ms

Then the response status code should be 403 8ms

@check @smoke @fast @security @permissions @local @development @staging @production
Scenario:Check that the login page is reachable and presents the form
6

Given I am an anonymous user 719ms

When I go to "/user/login" 618ms

And I wait until the page is loaded 5ms

Then the response status code should be 200 8ms

And I should see a "Username or email address" element 15ms

And I should see a "Password" element 3ms

As the owner of a Horizon Aid site
I want each role held to the permissions the recipe grants it
So that a permission added or lost when the recipe changes is caught.

@check @regression @slow @security @permissions @local @development
Scenario:Check that a Content editor may author the editorial content types
17

Given I am a logged in user with the "Content editor" user 2s 720ms

Then I should see "Log out" 7ms

When I go to "/node/add/blog" 11s 17ms

And I wait until the page is loaded 10s 3ms

Then "h1" should have text "Create Blog post" within 10 seconds 3ms

When I go to "/node/add/event" 12s 645ms

And I wait until the page is loaded 9ms

Then "h1" should have text "Create Event" within 10 seconds 2ms

When I go to "/node/add/page" 10s 747ms

And I wait until the page is loaded 10s 7ms

Then "h1" should have text "Create Utility page" within 10 seconds 2ms

When I go to "/admin/content" 9s 622ms

And I wait until the page is loaded 8ms

Then "h1" should have text "Content" within 10 seconds 2ms

When I go to "/admin/content/media" 2s 156ms

And I wait until the page is loaded 6ms

Then "h1" should have text "Media" within 10 seconds 2ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Content editor is refused the people listing
5

Given I am a logged in user with the "Content editor" user 2s 246ms

Then I should see "Log out" 9ms

When I go to "/admin/people" 933ms

And I wait until the page is loaded 6ms

Then I should see "You are not authorized to access this page." 6ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Content editor is refused the modules page
5

Given I am a logged in user with the "Content editor" user 2s 263ms

Then I should see "Log out" 6ms

When I go to "/admin/modules" 739ms

And I wait until the page is loaded 9ms

Then I should see "You are not authorized to access this page." 7ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Content editor is refused the appearance page
5

Given I am a logged in user with the "Content editor" user 2s 270ms

Then I should see "Log out" 6ms

When I go to "/admin/appearance" 785ms

And I wait until the page is loaded 9ms

Then I should see "You are not authorized to access this page." 7ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Content editor is refused content type admin
5

Given I am a logged in user with the "Content editor" user 2s 328ms

Then I should see "Log out" 8ms

When I go to "/admin/structure/types" 768ms

And I wait until the page is loaded 8ms

Then I should see "You are not authorized to access this page." 7ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Content editor is refused the status report
5

Given I am a logged in user with the "Content editor" user 2s 268ms

Then I should see "Log out" 7ms

When I go to "/admin/reports/status" 756ms

And I wait until the page is loaded 6ms

Then I should see "You are not authorized to access this page." 6ms

@check @regression @slow @security @permissions @local @development
Scenario:Check that an SEO admin authors content but cannot reach Drupal Canvas
14

Given I am a logged in user with the "SEO admin" user 2s 395ms

Then I should see "Log out" 7ms

When I go to "/node/add/blog" 10s 957ms

And I wait until the page is loaded 10s 6ms

Then "h1" should have text "Create Blog post" within 10 seconds 3ms

When I go to "/admin/content" 11s 124ms

And I wait until the page is loaded 10s 6ms

Then "h1" should have text "Content" within 10 seconds 3ms

When I go to "/admin/content/pages" 1s 2ms

And I wait until the page is loaded 9ms

Then I should see "You are not authorized to access this page." 6ms

When I go to "/canvas/editor/canvas_page/1" 10s 746ms

And I wait until the page is loaded 10s 9ms

Then I should see "You are not authorized to access this page." 5ms

@check @regression @security @permissions @local @development
Scenario:Check that a Site admin administers people and the Canvas pages
12

Given I am a logged in user with the "Site admin" user 2s 232ms

Then I should see "Log out" 6ms

When I go to "/admin/people" 8s 960ms

And I wait until the page is loaded 5ms

Then "h1" should have text "People" within 10 seconds 3ms

When I go to "/admin/structure/taxonomy" 1s 77ms

And I wait until the page is loaded 6ms

Then "h1" should have text "Taxonomy" within 10 seconds 2ms

When I go to "/admin/content/pages" 1s 68ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Pages" within 10 seconds 2ms

And I should see "Home" 5ms

@check @regression @fast @security @permissions @local @development
Scenario Outline:Check that a Site admin is refused the modules page
5

Given I am a logged in user with the "Site admin" user 2s 160ms

Then I should see "Log out" 6ms

When I go to "/admin/modules" 724ms

And I wait until the page is loaded 5ms

Then I should see "You are not authorized to access this page." 3ms

@check @regression @fast @security @permissions @local @development
Scenario Outline:Check that a Site admin is refused the appearance page
5

Given I am a logged in user with the "Site admin" user 2s 118ms

Then I should see "Log out" 7ms

When I go to "/admin/appearance" 725ms

And I wait until the page is loaded 4ms

Then I should see "You are not authorized to access this page." 3ms

@check @regression @fast @security @permissions @local @development
Scenario Outline:Check that a Site admin is refused content type admin
5

Given I am a logged in user with the "Site admin" user 2s 130ms

Then I should see "Log out" 6ms

When I go to "/admin/structure/types" 728ms

And I wait until the page is loaded 6ms

Then I should see "You are not authorized to access this page." 4ms

@check @regression @fast @security @permissions @local @development
Scenario Outline:Check that a Site admin is refused the status report
5

Given I am a logged in user with the "Site admin" user 2s 156ms

Then I should see "Log out" 6ms

When I go to "/admin/reports/status" 722ms

And I wait until the page is loaded 5ms

Then I should see "You are not authorized to access this page." 4ms

@check @regression @slow @security @permissions @local @development
Scenario:Check that a Content admin administers taxonomy but not users or modules
14

Given I am a logged in user with the "Content admin" user 2s 148ms

Then I should see "Log out" 6ms

When I go to "/admin/structure/taxonomy" 759ms

And I wait until the page is loaded 4ms

Then "h1" should have text "Taxonomy" within 10 seconds 2ms

When I go to "/node/add/blog" 10s 830ms

And I wait until the page is loaded 10s 10ms

Then "h1" should have text "Create Blog post" within 10 seconds 2ms

When I go to "/admin/people" 748ms

And I wait until the page is loaded 5ms

Then I should see "You are not authorized to access this page." 3ms

When I go to "/admin/modules" 688ms

And I wait until the page is loaded 5ms

Then I should see "You are not authorized to access this page." 3ms

@check @regression @slow @security @permissions @local @development
Scenario:Check that a Normal user may read the site and nothing more
8

Given I am a logged in user with the "Normal user" user 9s 884ms

Then I should see "Log out" 4ms

When I go to "/countries" 10s 645ms

And I wait until the page is loaded 10s 8ms

Then I should see "Colombia" 8ms

When I go to "/programs" 10s 555ms

And I wait until the page is loaded 6ms

Then I should see "Women" 5ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Normal user is refused the administration
5

Given I am a logged in user with the "Normal user" user 9s 525ms

Then I should see "Log out" 4ms

When I go to "/admin" 748ms

And I wait until the page is loaded 5ms

Then I should see "You are not authorized to access this page." 3ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Normal user is refused the content listing
5

Given I am a logged in user with the "Normal user" user 9s 507ms

Then I should see "Log out" 4ms

When I go to "/admin/content" 730ms

And I wait until the page is loaded 6ms

Then I should see "You are not authorized to access this page." 3ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Normal user is refused the media overview
5

Given I am a logged in user with the "Normal user" user 9s 483ms

Then I should see "Log out" 4ms

When I go to "/admin/content/media" 714ms

And I wait until the page is loaded 5ms

Then I should see "You are not authorized to access this page." 3ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Normal user is refused the Canvas pages
5

Given I am a logged in user with the "Normal user" user 9s 518ms

Then I should see "Log out" 4ms

When I go to "/admin/content/pages" 719ms

And I wait until the page is loaded 6ms

Then I should see "You are not authorized to access this page." 4ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Normal user is refused the Blog post form
5

Given I am a logged in user with the "Normal user" user 9s 517ms

Then I should see "Log out" 4ms

When I go to "/node/add/blog" 714ms

And I wait until the page is loaded 5ms

Then I should see "You are not authorized to access this page." 2ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Normal user is refused the Country form
5

Given I am a logged in user with the "Normal user" user 9s 570ms

Then I should see "Log out" 4ms

When I go to "/node/add/country" 708ms

And I wait until the page is loaded 5ms

Then I should see "You are not authorized to access this page." 3ms

@check @regression @security @permissions @local @development
Scenario Outline:Check that a Normal user is refused the people listing
5

Given I am a logged in user with the "Normal user" user 9s 466ms

Then I should see "Log out" 4ms

When I go to "/admin/people" 724ms

And I wait until the page is loaded 4ms

Then I should see "You are not authorized to access this page." 2ms

@check @regression @slow @security @permissions @local @development
Scenario Outline:Check that a Super admin reaches the content listing
6

Given I am a logged in user with the "Super admin" user 2s 472ms

Then I should see "Log out" 8ms

When I go to "/admin/content" 10s 770ms

And I wait until the page is loaded 10s 11ms

Then "h1" should have text "Content" within 10 seconds 3ms

And I should not see "You are not authorized to access this page." 5ms

@check @regression @slow @security @permissions @local @development
Scenario Outline:Check that a Super admin reaches the Canvas pages
6

Given I am a logged in user with the "Super admin" user 2s 232ms

Then I should see "Log out" 7ms

When I go to "/admin/content/pages" 914ms

And I wait until the page is loaded 6ms

Then "h1" should have text "Pages" within 10 seconds 2ms

And I should not see "You are not authorized to access this page." 2ms

@check @regression @slow @security @permissions @local @development
Scenario Outline:Check that a Super admin reaches the Country form
6

Given I am a logged in user with the "Super admin" user 2s 171ms

Then I should see "Log out" 7ms

When I go to "/node/add/country" 13s 523ms

And I wait until the page is loaded 5ms

Then "h1" should have text "Create Country" within 10 seconds 2ms

And I should not see "You are not authorized to access this page." 5ms

@check @regression @slow @security @permissions @local @development
Scenario Outline:Check that a Super admin reaches the Program form
6

Given I am a logged in user with the "Super admin" user 2s 280ms

Then I should see "Log out" 8ms

When I go to "/node/add/program" 11s 671ms

And I wait until the page is loaded 10s 9ms

Then "h1" should have text "Create Program" within 10 seconds 2ms

And I should not see "You are not authorized to access this page." 6ms

@check @regression @slow @security @permissions @local @development
Scenario Outline:Check that a Super admin reaches the people listing
6

Given I am a logged in user with the "Super admin" user 2s 294ms

Then I should see "Log out" 8ms

When I go to "/admin/people" 10s 299ms

And I wait until the page is loaded 5ms

Then "h1" should have text "People" within 10 seconds 2ms

And I should not see "You are not authorized to access this page." 8ms

@check @regression @slow @security @permissions @local @development
Scenario Outline:Check that a Super admin reaches the modules page
6

Given I am a logged in user with the "Super admin" user 2s 264ms

Then I should see "Log out" 7ms

When I go to "/admin/modules" 10s 404ms

And I wait until the page is loaded 22ms

Then "h1" should have text "Extend" within 10 seconds 17ms

And I should not see "You are not authorized to access this page." 53ms

As a site visitor
I want a search control in the header of every page
So that I can look something up without first finding a search page.

@check @smoke @acceptance @critical @local @development @staging @production @navigation @search
Scenario:Check the header carries a search toggle on the home page
6

Given I am an anonymous user 8s 956ms

When I go to "/home" 714ms

And I wait until the page is loaded 6ms

Then "header[role='banner'] .icon-toggle__button" should have a count of 1 2ms

And "header[role='banner'] .icon-toggle__button" should be visible 2ms

And "header[role='banner'] .icon-toggle__button" should have attribute "aria-expanded" with value "false" 3ms

@check @regression @local @development @staging @production @navigation @search
Scenario:Check the header search box is hidden until the toggle is used
5

Given I am an anonymous user 1s 298ms

When I go to "/home" 686ms

And I wait until the page is loaded 6ms

Then "header[role='banner'] .icon-toggle__panel" should be hidden 2ms

And "header[role='banner'] .icon-toggle__panel input[name='keywords']" should not be visible 2ms

@check @acceptance @critical @local @development @staging @production @navigation @search
Scenario:Check the toggle opens the panel and reveals the search box
7

Given I am an anonymous user 724ms

When I go to "/home" 687ms

And I wait until the page is loaded 6ms

And I click on the element "header[role='banner'] .icon-toggle__button" 344ms

Then "header[role='banner'] .icon-toggle__panel" should be visible within 10 seconds 1ms

And "header[role='banner'] .icon-toggle__panel input[name='keywords']" should be visible 1ms

And "header[role='banner'] .icon-toggle__button" should have attribute "aria-expanded" with value "true" 2ms

@check @exploratory @local @development @staging @production @navigation @search
Scenario:Verify the bar closes again and gives the header back
10

Given I am an anonymous user 725ms

When I go to "/home" 682ms

And I wait until the page is loaded 5ms

And I click on the element "header[role='banner'] .icon-toggle__button" 333ms

Then "header[role='banner'] .icon-toggle__panel" should be visible within 10 seconds 3ms

And "header[role='banner'] .icon-toggle__close" should be visible 2ms

When I click on the element "header[role='banner'] .icon-toggle__close" 330ms

Then "header[role='banner'] .icon-toggle__panel" should be hidden within 10 seconds 1ms

And "header[role='banner'] .icon-toggle__button" should be visible 1ms

And "header[role='banner'] .icon-toggle__button" should have attribute "aria-expanded" with value "false" 2ms

@check @acceptance @critical @local @development @staging @production @navigation @search
Scenario:Check searching from the header lands on the results page carrying the query
12

Given I am an anonymous user 721ms

When I go to "/home" 682ms

And I wait until the page is loaded 7ms

And I click on the element "header[role='banner'] .icon-toggle__button" 340ms

Then "header[role='banner'] .icon-toggle__panel input[name='keywords']" should be visible within 10 seconds 2ms

When I fill in the field "header[role='banner'] .icon-toggle__panel input[name='keywords']" with "water" 314ms

And I press the key "Enter" on the element "header[role='banner'] .icon-toggle__panel input[name='keywords']" 2s 911ms

And I wait until the page is loaded 6ms

Then the url should match "/search" < 1ms

And the url should match "keywords=water" < 1ms

And ".view-search-results" should be visible 2ms

And ".view-search-results input[name='keywords']" should have value "water" 2ms

@check @regression @local @development @staging @production @navigation @search
Scenario Outline:Check the header search toggle is present on /countries
5

Given I am an anonymous user 727ms

When I go to "/countries" 9s 281ms

And I wait until the page is loaded 6ms

Then "header[role='banner'] .icon-toggle__button" should have a count of 1 2ms

And "header[role='banner'] .icon-toggle__button" should be visible 1ms

@check @regression @local @development @staging @production @navigation @search
Scenario Outline:Check the header search toggle is present on /programs
5

Given I am an anonymous user 725ms

When I go to "/programs" 1s 698ms

And I wait until the page is loaded 6ms

Then "header[role='banner'] .icon-toggle__button" should have a count of 1 2ms

And "header[role='banner'] .icon-toggle__button" should be visible 2ms

@check @regression @local @development @staging @production @navigation @search
Scenario Outline:Check the header search toggle is present on /resources
5

Given I am an anonymous user 731ms

When I go to "/resources" 2s 57ms

And I wait until the page is loaded 5ms

Then "header[role='banner'] .icon-toggle__button" should have a count of 1 1ms

And "header[role='banner'] .icon-toggle__button" should be visible 2ms

@check @regression @local @development @staging @production @navigation @search
Scenario Outline:Check the header search toggle is present on /events
5

Given I am an anonymous user 723ms

When I go to "/events" 1s 556ms

And I wait until the page is loaded 6ms

Then "header[role='banner'] .icon-toggle__button" should have a count of 1 1ms

And "header[role='banner'] .icon-toggle__button" should be visible 1ms

As a site visitor
I want the search results page to name itself, keep its search box in reach and list one result per row
So that I can read what was found and refine the query without leaving the page.

@check @acceptance @critical @local @development @staging @production @search
Scenario:Check the results page names itself with a single top-level heading
5

Given I am an anonymous user 719ms

When I go to "/search?keywords=water" 580ms

And I wait until the page is loaded 4ms

Then "main h1" should have a count of 1 1ms

And "main h1" should have text "Search" 2ms

@check @acceptance @critical @local @development @staging @production @search
Scenario:Check the results page shows its search box inline above the results
10

Given I am an anonymous user 722ms

When I go to "/search?keywords=water" 583ms

And I wait until the page is loaded 5ms

Then ".view-search-results .views-exposed-form" should have a count of 1 1ms

And ".view-search-results .views-exposed-form" should be visible 1ms

And ".view-search-results .views-exposed-form" should have class "views-exposed-form--search" 2ms

And ".view-search-results input[name='keywords']" should be visible 3ms

And ".view-search-results .views-exposed-form .form-submit" should be visible 6ms

And the element ".view-search-results .views-exposed-form" should appear after the element "main h1" 8ms

And the element ".view-search-results .view-content" should appear after the element ".view-search-results .views-exposed-form" 7ms

@check @regression @local @development @staging @production @search
Scenario:Check the result summary sits under the search box
5

Given I am an anonymous user 722ms

When I go to "/search?keywords=water" 583ms

And I wait until the page is loaded 4ms

Then I should see text matching "Showing 1-\d+ of \d+" 1ms

And the element ".view-search-results .view-header" should appear after the element ".view-search-results .views-exposed-form" 7ms

@check @acceptance @critical @local @development @staging @production @search
Scenario:Check no result row carries a second or an empty heading
7

Given I am an anonymous user 727ms

When I go to "/search?keywords=water" 576ms

And I wait until the page is loaded 5ms

Then ".view-search-results .views-row" should be visible 2ms

And ".view-search-results .views-row:has(h2:nth-of-type(2))" should have a count of 0 2ms

And ".view-search-results .views-row:not(:has(h2))" should have a count of 0 1ms

And ".view-search-results .views-row h2:empty" should have a count of 0 1ms

@check @acceptance @critical @local @development @staging @production @search
Scenario:Check every result row carries exactly one link, on its heading
5

Given I am an anonymous user 724ms

When I go to "/search?keywords=water" 584ms

And I wait until the page is loaded 4ms

Then ".view-search-results .views-row:not(:has(h2 a))" should have a count of 0 2ms

And ".view-search-results .views-row:has(a:nth-of-type(2))" should have a count of 0 1ms

@check @acceptance @local @development @staging @production @search
Scenario:Check a result heading opens the item it names
10

Given I am an anonymous user 716ms

When I go to "/search?keywords=water" 579ms

And I wait until the page is loaded 5ms

Then ".view-search-results .views-row:first-child h2 a" should be visible 2ms

When I click on the element ".view-search-results .views-row:first-child h2 a" 1s 839ms

And I wait until the page is loaded 10s 8ms

Then the url should not match "/search" < 1ms

And "main h1" should have a count of 1 2ms

And I should not see "Page not found" 4ms

And I should not see "Access denied" 4ms

@check @regression @local @development @staging @production @search
Scenario:Check every result row carries the same spacing
5

Given I am an anonymous user 727ms

When I go to "/search?keywords=water" 580ms

And I wait until the page is loaded 5ms

Then ".view-search-results .views-row" should be visible 2ms

And ".view-search-results .views-row:not(.mb-5)" should have a count of 0 1ms

@check @acceptance @local @development @staging @production @search
Scenario:Check a new keyword typed on the results page re-runs the search
9

Given I am an anonymous user 728ms

When I go to "/search?keywords=water" 582ms

And I wait until the page is loaded 5ms

And I fill in the field ".view-search-results input[name='keywords']" with "education" 313ms

And I click on the element ".view-search-results .views-exposed-form .form-submit" 1s 906ms

And I wait until the page is loaded 6ms

Then the url should match "keywords=education" < 1ms

And ".view-search-results input[name='keywords']" should have value "education" 2ms

And ".view-search-results .views-row" should be visible 1ms

As a site visitor
I want a search that found nothing to say so, and a search that found a lot to page
So that neither outcome leaves me looking at a page that seems broken.

@check @exploratory @critical @local @development @staging @production @search
Scenario:Check a query that matches nothing says so instead of showing an empty page
8

Given I am an anonymous user 727ms

When I go to "/search?keywords=telescope" 747ms

And I wait until the page is loaded 4ms

Then "main h1" should have a count of 1 1ms

And ".view-search-results .view-empty" should be visible 1ms

And I should see "There are no results for your search, please try another query." 3ms

And ".view-search-results .views-row" should have a count of 0 1ms

And I don't see pagination 1ms

@check @regression @a11y @local @development @staging @production @search
Scenario:Check the empty notice renders as a readable panel
5

Given I am an anonymous user 718ms

When I go to "/search?keywords=telescope" 582ms

And I wait until the page is loaded 5ms

Then ".view-search-results .view-empty--notice" should have a count of 1 1ms

And ".view-search-results .view-empty--notice" should be visible 1ms

@check @acceptance @local @development @staging @production @search
Scenario:Check the search box stays usable after a query that found nothing
10

Given I am an anonymous user 721ms

When I go to "/search?keywords=telescope" 577ms

And I wait until the page is loaded 4ms

Then ".view-search-results input[name='keywords']" should be visible 1ms

And ".view-search-results input[name='keywords']" should have value "telescope" 1ms

When I fill in the field ".view-search-results input[name='keywords']" with "water" 311ms

And I click on the element ".view-search-results .views-exposed-form .form-submit" 591ms

And I wait until the page is loaded 6ms

Then ".view-search-results .views-row" should be visible 1ms

And I should not see "There are no results for your search, please try another query." 3ms

@check @exploratory @local @development @staging @production @search
Scenario:Check the results page with no query asks for a keyword
9

Given I am an anonymous user 721ms

When I go to "/search" 753ms

And I wait until the page is loaded 4ms

Then "main h1" should have a count of 1 1ms

And I should not see "Page not found" 2ms

And ".view-search-results input[name='keywords']" should be visible 1ms

And ".view-search-results input[name='keywords']" should have value "" 1ms

And I should see "Enter a keyword to search Horizon Aid." 3ms

And ".view-search-results .views-row" should have a count of 0 1ms

@check @acceptance @local @development @staging @production @search
Scenario:Check paging the results moves the range on and keeps the query
12

Given I am an anonymous user 720ms

When I go to "/search?keywords=the" 2s 644ms

And I wait until the page is loaded 5ms

Then I see visible pagination 2ms

And I should see text matching "Showing 1-10 of \d+" 1ms

When I click on the link with the title "Go to page 2" 2s 209ms

And I wait until the page is loaded 5ms

Then the url should match "page=1" < 1ms

And the url should match "keywords=the" < 1ms

And I should see text matching "Showing 11-\d+ of \d+" 1ms

And I should not see text matching "Showing 1-10 of" 1ms

And ".view-search-results input[name='keywords']" should have value "the" 2ms