Skip to content

Commit

Permalink
Fix spikeglx path exp screenshot, update scrnshots
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Oct 9, 2024
1 parent 449af86 commit adafc44
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 1 deletion.
Binary file modified docs/assets/tutorials/dandi/review-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/home-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/multiple/fail-name.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/multiple/home-page-complete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/multiple/inspect-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/multiple/metadata-nwbfile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/multiple/pathexpansion-completed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/multiple/preview-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/multiple/subject-error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/single/fail-name.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/single/home-page-complete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/single/inspect-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/single/metadata-nwbfile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/tutorials/single/preview-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion tests/e2e/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,14 @@ export default async function runWorkflow(name, workflow, identifier) {

await takeScreenshot(join(identifier, 'pathexpansion-autocomplete-submitted'), 1000)

// collapse the first interface accordion for the screenshot
await evaluate(() => {
const dashboard = document.querySelector('nwb-dashboard')
const page = dashboard.page
const first = Object.values(page.form.accordions)[0]
first.toggle(false)
})

// Fill out the other path expansion information
await evaluate(({ multi, common }) => {
const dashboard = document.querySelector('nwb-dashboard')
Expand All @@ -254,7 +262,6 @@ export default async function runWorkflow(name, workflow, identifier) {

}, testInterfaceInfo)


await takeScreenshot(join(identifier, 'pathexpansion-completed'), 300)

await toNextPage('subjects')
Expand Down

0 comments on commit adafc44

Please sign in to comment.