Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOIA-0: Fix for cucumber-mink puppeteer issue. #2074

Merged
merged 4 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
env:
GIT_REPO: ${{ secrets.GIT_REPO }}
APP_ENV: development
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
env:
GIT_REPO: ${{ secrets.GIT_REPO }}
APP_ENV: production
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
env:
GIT_REPO: ${{ secrets.GIT_REPO }}
APP_ENV: staging
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-uat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
env:
GIT_REPO: ${{ secrets.GIT_REPO }}
APP_ENV: uat
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [pull_request]
jobs:
# Build for the Acquia Cloud development environment
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion features/Wizard.feature
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Feature: wizard
Then I enter "John Lewis Voting Rights Act" into the wizard query box
Then the "the wizard primary button" element should exist
And I hard click on "the wizard primary button"
And I wait 5 seconds
And I wait 10 seconds
Then I should see "Okay, you’re looking for:"
And I should see "John Lewis Voting Rights Act"
And I should see "We found the following public information:"
Expand Down
5 changes: 5 additions & 0 deletions features/support/mink.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ const driver = new mink.Mink({
width: 1366,
height: 768,
},
puppeteer: {
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: true,
devtools: false,
},
selectors: {
'homepage search button': '.usa-search-submit-text',
'the homepage search box': '#search-field-big',
Expand Down
Loading