Read about our upcoming Code of Conduct on this issue

Commit d3ab818c authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch '30461-fix-transient-failure' into 'master'

Fix a transient spec failure in "Admin Health Check" feature spec

Closes #30461

See merge request !10454
......@@ -2,7 +2,6 @@
feature "Admin Health Check", feature: true do
include StubENV
include WaitForAjax
before do
......@@ -24,11 +23,12 @@
expect(page).to have_selector('#health-check-token', text: token)
describe 'reload access token', js: true do
describe 'reload access token' do
it 'changes the access token' do
orig_token = current_application_settings.health_check_access_token
click_button 'Reset health check access token'
expect(page).to have_content('New health check access token has been generated!')
expect(find('#health-check-token').text).not_to eq orig_token
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment