Skip to content

Commit 887b82f

Browse files
gkorlandCopilot
andcommitted
fix(e2e): update FalkorDB logo selector for SVG-based Logo component
The logo was refactored from an <img> tag to an inline SVG <Logo /> component, but the E2E POM selector still looked for img[@alt='FalkorDB']. Updated to use the aria-label attribute on the parent <a> tag instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 85185b9 commit 887b82f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

e2e/logic/POM/codeGraph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default class CodeGraph extends BasePage {
3030

3131
/* NavBar Locators*/
3232
private get falkorDBLogo(): Locator {
33-
return this.scopedLocator("//*[img[@alt='FalkorDB']]")
33+
return this.scopedLocator("//a[@aria-label='FalkorDB']")
3434
}
3535

3636
private get navBaritem(): (navItem: string) => Locator {

0 commit comments

Comments
 (0)