Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fixed affected authorization_code_flow spec

Jonas Jabari5629eab43c7f
diff --git a/spec/features/oauth/authorization_code_flow_spec.rb b/spec/features/oauth/authorization_code_flow_spec.rb
index b982b619a09..e5ff6a442c4 100644
--- a/spec/features/oauth/authorization_code_flow_spec.rb
+++ b/spec/features/oauth/authorization_code_flow_spec.rb
@@ -96,7 +96,7 @@ RSpec.describe 'OAuth authorization code flow',
# Revoke the application
within("#oauth-application-grant-#{app.id}") do
SeleniumHubWaiter.wait
- click_on 'Revoke'
+ find("[data-qa-selector='oauth-token-row-#{app.id}-revoke']").click
end
page.driver.browser.switch_to.alert.accept