Skip to content

Commit 04f8302

Browse files
authored
Merge pull request #2074 from brockfanning/puppeteer-issue
FOIA-0: Fix for cucumber-mink puppeteer issue.
2 parents c04fcc8 + 8092a78 commit 04f8302

9 files changed

+2657
-1118
lines changed

.github/workflows/deploy-to-dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
env:
1010
GIT_REPO: ${{ secrets.GIT_REPO }}
1111
APP_ENV: development
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: ruby/setup-ruby@v1

.github/workflows/deploy-to-production.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
env:
1010
GIT_REPO: ${{ secrets.GIT_REPO }}
1111
APP_ENV: production
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: ruby/setup-ruby@v1

.github/workflows/deploy-to-staging.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
env:
1010
GIT_REPO: ${{ secrets.GIT_REPO }}
1111
APP_ENV: staging
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: ruby/setup-ruby@v1

.github/workflows/deploy-to-uat.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
env:
1010
GIT_REPO: ${{ secrets.GIT_REPO }}
1111
APP_ENV: uat
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: ruby/setup-ruby@v1

.github/workflows/pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: [pull_request]
33
jobs:
44
# Build for the Acquia Cloud development environment
55
build:
6-
runs-on: ubuntu-20.04
6+
runs-on: ubuntu-22.04
77
steps:
88
- uses: actions/checkout@v3
99
- uses: ruby/setup-ruby@v1

features/Wizard.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Feature: wizard
5151
Then I enter "John Lewis Voting Rights Act" into the wizard query box
5252
Then the "the wizard primary button" element should exist
5353
And I hard click on "the wizard primary button"
54-
And I wait 5 seconds
54+
And I wait 10 seconds
5555
Then I should see "Okay, you’re looking for:"
5656
And I should see "John Lewis Voting Rights Act"
5757
And I should see "We found the following public information:"

features/support/mink.js

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ const driver = new mink.Mink({
77
width: 1366,
88
height: 768,
99
},
10+
puppeteer: {
11+
args: ['--no-sandbox', '--disable-setuid-sandbox'],
12+
headless: true,
13+
devtools: false,
14+
},
1015
selectors: {
1116
'homepage search button': '.usa-search-submit-text',
1217
'the homepage search box': '#search-field-big',

0 commit comments

Comments
 (0)