Skip to content

Commit

Permalink
trying to get some error out of github
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhrst committed Sep 9, 2024
1 parent 202c337 commit 24bd01e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
name: built-app
path: public
test:
runs-on: ubuntu-22.04
runs-on: macos-latest
needs: build
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/infer.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ describe('Inference test', () => {
// TODO: test cancel showOpenFilePicker()
cy.contains("button", "Start inference").should("be.not.disabled").click()
cy.contains(".filetree_filename2.filetree_converting2", /^file\.MTS$/)
cy.contains(".filetree_filename2.filetree_done2", /^file\.MTS$/, {timeout: 9 * 60 * 1000})
cy.contains(".filetree_filename2.filetree_done2", /^file\.MTS$/, {timeout: 20 * 60 * 1000})
cy.assertFileExistsInPickedDirectory("file.82f16f09b8327ed1.behave.det.json")
cy.window().then(win => cy.wrap(null).then(async () => {
const opfs = await win.navigator.storage.getDirectory()
const dir = await opfs.getDirectoryHandle("showDirectoryPickerResult")
const file = await (await dir.getFileHandle("file.82f16f09b8327ed1.behave.det.json")).getFile()
const hash = xxh64sum(file)
cy.wrap(hash).should("equal", "fa81b4bf7284831c")
cy.wrap(hash).should("equal", await file.text())
}))
cy.wait("@postTic").its("request.body").then($body => {
cy.wrap($body).its("id").should("equal", "page-views")
Expand Down

0 comments on commit 24bd01e

Please sign in to comment.