Skip to content
Snippets Groups Projects
Commit 30782c70 authored by Guilherme Gazzo's avatar Guilherme Gazzo
Browse files

Chore: Fix e2e tests after sidebar

parent 39e4ae3a
No related merge requests found
......@@ -3,7 +3,7 @@ import type { FC } from 'react';
import React from 'react';
const Sidebar: FC = ({ children, ...props }) => (
<Box display='flex' flexDirection='column' h='full' justifyContent='stretch' {...props}>
<Box display='flex' flexDirection='column' h='full' justifyContent='stretch' {...props} role='navigation'>
{children}
</Box>
);
......
......@@ -41,7 +41,7 @@ export class AccountProfile {
}
get btnClose(): Locator {
return this.page.locator('aside[role="navigation"] button >> i.rcx-icon--name-cross.rcx-icon');
return this.page.locator('role=navigation >> role=button[name=Close]');
}
get inputToken(): Locator {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment