|
|
|
@ -54,13 +54,13 @@ export class ProjectViewPage extends BasePage {
|
|
|
|
|
expect(await this.tab_allTables.isVisible()).toBeTruthy(); |
|
|
|
|
|
|
|
|
|
if (role.toLowerCase() === 'creator' || role.toLowerCase() === 'owner') { |
|
|
|
|
await this.tab_dataSources.waitFor({ state: 'visible' }); |
|
|
|
|
await this.tab_accessSettings.waitFor({ state: 'visible' }); |
|
|
|
|
expect(await this.tab_dataSources.isVisible()).toBeTruthy(); |
|
|
|
|
expect(await this.tab_accessSettings.isVisible()).toBeTruthy(); |
|
|
|
|
// await this.tab_dataSources.waitFor({ state: 'visible' });
|
|
|
|
|
// expect(await this.tab_dataSources.isVisible()).toBeTruthy();
|
|
|
|
|
} else { |
|
|
|
|
expect(await this.tab_dataSources.isVisible()).toBeFalsy(); |
|
|
|
|
expect(await this.tab_accessSettings.isVisible()).toBeFalsy(); |
|
|
|
|
// expect(await this.tab_dataSources.isVisible()).toBeFalsy();
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
await this.tables.verifyAccess(role); |
|
|
|
|