Skip to content

Commit 5bf6519

Browse files
committed
Test-suit scroll bar
1 parent f8b9dc0 commit 5bf6519

File tree

4 files changed

+2448
-1020
lines changed

4 files changed

+2448
-1020
lines changed

packages/app/src/components/sidebar/explorer.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,21 @@ export class DevtoolsSidebarExplorer extends CollapseableEntry {
3333
static styles = [...Element.styles, css`
3434
:host {
3535
width: 100%;
36-
display: block;
36+
display: flex;
37+
flex-direction: column;
38+
min-height: 0;
39+
}
40+
41+
header {
42+
flex: 0 0 auto;
43+
}
44+
45+
wdio-test-suite {
46+
flex: 1 1 auto;
47+
overflow-y: auto;
48+
overflow-x: hidden;
49+
min-height: 0;
50+
-webkit-overflow-scrolling: touch;
3751
}
3852
`]
3953

packages/app/src/components/workbench.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class DevtoolsWorkbench extends Element {
8989
const styleWorkbench = this.#toolbarCollapsed ? '' : this.#dragVertical.getPosition()
9090
const sidebarStyle = !this.#workbenchSidebarCollapsed
9191
? (() => {
92-
const pos = this.#dragHorizontal.getPosition() // e.g. "flex-basis: 300px;"
92+
const pos = this.#dragHorizontal.getPosition()
9393
const m = pos.match(/flex-basis:\s*([\d.]+)px/)
9494
const w = m ? m[1] : MIN_METATAB_WIDTH
9595
// Keep drag-resize (flex-basis) but stop auto-expansion

packages/service/src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ export default class DevToolsHookService implements Services.ServiceInstance {
177177
// Only consider command frames from user spec/test files
178178
return file && SPEC_FILE_PATTERN.test(file)
179179
})
180-
log.debug('Command: ', command)
181-
log.debug('Source: ', JSON.stringify(source))
182-
log.debug('Stack: ', JSON.stringify(stack))
183180

184181
if (source && this.#commandStack.length === 0 && !INTERNAL_COMMANDS.includes(command)) {
185182
const cmdSig = JSON.stringify({

0 commit comments

Comments
 (0)