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

Take more screenshots #8

Merged
merged 1 commit into from
Jan 20, 2025
Merged

Take more screenshots #8

merged 1 commit into from
Jan 20, 2025

Conversation

lslezak
Copy link
Contributor

@lslezak lslezak commented Jan 17, 2025

Additionally adapted to Agama 11
@@ -56,10 +56,25 @@ describe("Agama screenshots", function () {
setInitialRootPassword(options.rootPassword);

it("should take overview page screenshot", async function () {
await page.locator("h3::-p-text('Overview')").wait();
await page.locator("main ::-p-text('Overview')").wait();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agama 11 changed <h3> to <h2>. Let's make it more generic and use the parent <main> instead.

Copy link

@joseivanlopez joseivanlopez left a comment

Choose a reason for hiding this comment

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

LGTM

@lslezak lslezak merged commit 90b7e17 into main Jan 20, 2025
4 checks passed
@lslezak lslezak deleted the more_screenshots branch January 20, 2025 09:35
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