Skip to content

Commit 30e58d8

Browse files
Fix issue with isAdministrationExists() {
1 parent 3827d37 commit 30e58d8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

e2e/elements/menuBar.element/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { by, element, promise } from 'protractor';
22
import { CreateOptions } from './create.options';
33
import { TestsOptions } from './tests.options';
4-
import { UserOptions } from './user.options';
54
import { AuditsOptions } from './audits.options';
65

76
export class MenuBar {
@@ -70,7 +69,7 @@ export class MenuBar {
7069
}
7170

7271
isAdministrationExists() {
73-
return this.administrationOption.isPresent();
72+
return this.administrationOption.element(by.tagName('a')).isPresent();
7473
}
7574

7675
editAccount() {

0 commit comments

Comments
 (0)