Skip to content

Commit

Permalink
add local build command, fix log oops haha
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtarsi committed Apr 12, 2024
1 parent 42bd43c commit b15c9a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"start:test-site": "http-server -p 8080 ./packages/side-testkit/fixtures/static",
"build": "run-s build:ts build:ide",
"build:electron": "pnpm run --stream --filter selenium-ide build:electron",
"build:electron:mac": "pnpm run --stream --filter selenium-ide build:electron:mac",
"build:ide": "pnpm run --stream --filter selenium-ide build:webpack",
"build:ts": "tsc --build --verbose",
"clean:deps": "rimraf packages/*/node_modules node_modules",
Expand Down
1 change: 1 addition & 0 deletions packages/selenium-ide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"build": "run-s build:webpack build:electron",
"build:electron": "CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -mwl --publish never",
"build:electron:dir": "CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --dir",
"build:electron:mac": "CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -m --publish never",
"build:webpack": "webpack",
"install-app-deps": "electron-builder install-app-deps",
"publish:electron:linux": "CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -l --publish always",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const createBidiAPIBindings = async (
console.log('Playback javascript exception', entry)
})

const handle = await driver.getWindowHandle() as any
const handle = (await driver.getWindowHandle()) as any
const scriptManager = await getScriptManager(handle, driver as any)
await scriptManager.addPreloadScript(
playbackWindowBidiPreload as any,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,7 @@ export default class PlaybackController extends BaseController {
const testName = this.session.tests.getByID(
testID || this.session.state.state.activeTestID
)?.name
console.debug(
`Playing state changed ${e.state} for test ${testName}, doink?`
)
console.debug(`Playing state changed ${e.state} for test ${testName}`)
let closeAll = false
switch (e.state) {
case 'aborted':
Expand Down Expand Up @@ -376,7 +374,6 @@ export default class PlaybackController extends BaseController {
if (fullyComplete) {
this.playingSuite = ''
}
console.debug(`Fully complete? ${fullyComplete}`)
this.session.api.playback.onPlayUpdate.dispatchEvent({
state: e.state,
testID,
Expand Down

0 comments on commit b15c9a9

Please sign in to comment.