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

OSOE-127: Upgrade to Orchard Core 1.4 #20

Merged
merged 4 commits into from
Jun 7, 2022
Merged

OSOE-127: Upgrade to Orchard Core 1.4 #20

merged 4 commits into from
Jun 7, 2022

Conversation

DemeSzabolcs
Copy link
Member

@@ -39,6 +39,6 @@ public static async Task TestMainMenuWithAuthenticationAsync(this UITestContext
await context.ClickMainMenuPathAsync("Account", "Log Out");

await context.ClickMainMenuPathAsync("Log In");
context.Exists(By.XPath("//form[@action = '/Login']/h4[contains(., 'Log in')]"));
context.Exists(By.XPath("//form[@action = '/Login']/h1[contains(., 'Log in')]"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the header level matters here so we can generalize:

Suggested change
context.Exists(By.XPath("//form[@action = '/Login']/h1[contains(., 'Log in')]"));
context.Exists(By.XPath("//form[@action = '/Login']/*[starts-with(name(), 'H') and contains(., 'Log in')]"));

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fml it's H in Firefox but h in Chrome and I only checked in the dev console.

DemeSzabolcs and others added 2 commits June 7, 2022 02:00
@sarahelsaig sarahelsaig merged commit 539a7f5 into dev Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants