Skip to content

Commit 135315f

Browse files
removed odo log command from test files
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
1 parent 496d32d commit 135315f

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

test/ui/suite/componentContextMenu.ts

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -191,36 +191,6 @@ export function testComponentContextMenu() {
191191
expect(tabName).to.contain(expectedTabName);
192192
});
193193

194-
it('Show log works', async () => {
195-
//open menu and select show log
196-
const contextMenu = await component.openContextMenu();
197-
await contextMenu.select(MENUS.showLog);
198-
199-
//check for active tab name
200-
const tabName = await openshiftTerminal.getActiveTabName();
201-
expect(tabName).to.contain(`Show '${componentName}' Component Log`);
202-
203-
//check for terminal content
204-
const terminalText = await openshiftTerminal.getTerminalText();
205-
expect(terminalText).to.contain('runtime: App started on PORT');
206-
expect(terminalText).to.contain('Press any key to close this terminal');
207-
});
208-
209-
it('Follow log works', async () => {
210-
//open menu and select follow log
211-
const contextMenu = await component.openContextMenu();
212-
await contextMenu.select(MENUS.followLog);
213-
214-
//check for active tab name
215-
const tabName = await openshiftTerminal.getActiveTabName();
216-
expect(tabName).to.contain(`Follow '${componentName}' Component Log`);
217-
218-
//check for terminal text
219-
const terminalText = await openshiftTerminal.getTerminalText();
220-
expect(terminalText).to.contain('runtime: App started on PORT');
221-
expect(terminalText).not.to.contain('Press any key to close this terminal');
222-
});
223-
224194
it('Debug works', async () => {
225195
this.timeout(80_000);
226196

0 commit comments

Comments
 (0)