Skip to content

Commit e9c9389

Browse files
authored
update assertion
1 parent a122596 commit e9c9389

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

e2e/assertions/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ try {
9595
async hasExpectedLog(workbench: Workbench, expectedLog: RegExp | string) {
9696
const bottomBar = workbench.getBottomBar()
9797
await bottomBar.toggle(true)
98-
await clickGlobalAction(bottomBar, bottomBar.locators.maximize)
98+
// await clickGlobalAction(bottomBar, bottomBar.locators.maximize)
9999

100100
const outputView = await bottomBar.openOutputView()
101101
await outputView.selectChannel('WebdriverIO')
@@ -107,7 +107,7 @@ try {
107107
const pass = logs.some((log) => regexp.test(log))
108108

109109
await bottomBar.toggle(true)
110-
await clickGlobalAction(bottomBar, bottomBar.locators.restore)
110+
// await clickGlobalAction(bottomBar, bottomBar.locators.restore)
111111
const message = pass ? 'The log outputs include expected text.' : 'The expected text is not included'
112112
return { pass, message: () => message }
113113
},
@@ -117,7 +117,7 @@ try {
117117
console.warn('Failed to extend expect:', error)
118118
}
119119

120-
async function clickGlobalAction(bottomBar: BottomBarPanel, label: string) {
120+
export async function clickGlobalAction(bottomBar: BottomBarPanel, label: string) {
121121
let action
122122
try {
123123
action = (await bottomBar.elem

0 commit comments

Comments
 (0)