Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface ScreenshotFileNameOptions {
deviceName: string;
// The device pixel ratio
devicePixelRatio: number;
// The string that needs to be formated
// The string that needs to be formatted
formatImageName: string;
// Is this a mobile
isMobile: boolean;
Expand Down
2 changes: 1 addition & 1 deletion packages/visual-service/src/storybook/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export async function checkStorybookIsRunning(url: string) {
try {
const res = await fetch(url, { method: 'GET', headers: {} })
if (res.status !== 200) {
throw new Error(`Unxpected status: ${res.status}`)
throw new Error(`Unexpected status: ${res.status}`)
}
} catch (_e) {
log.error(`It seems that the Storybook instance is not running at: ${url}. Are you sure it's running?`)
Expand Down
2 changes: 1 addition & 1 deletion tests/specs/checkMethodsFolders.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('@wdio/visual-service check methods folder options', () => {
await browser.pause(500)
})

// Chrome remembers the last postion when the url is loaded again, this will reset it.
// Chrome remembers the last position when the url is loaded again, this will reset it.
afterEach(async () => await browser.execute('window.scrollTo(0, 0);', []))

describe('checkFullPageScreen method with folder options', () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/specs/multiremote.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('@wdio/visual-service check that multi remote is working', () => {
await multiremotebrowser.chromeBrowserTwo.pause(500)
})

// Chrome remembers the last postion when the url is loaded again, this will reset it.
// Chrome remembers the last position when the url is loaded again, this will reset it.
afterEach(async () => {
await multiremotebrowser.chromeBrowserOne.execute(
'window.scrollTo(0, 0);',
Expand Down
2 changes: 1 addition & 1 deletion tests/specs/saveMethodsFolders.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('@wdio/visual-service save methods folder options', () => {
await browser.pause(500)
})

// Chrome remembers the last postion when the url is loaded again, this will reset it.
// Chrome remembers the last position when the url is loaded again, this will reset it.
afterEach(async () => await browser.execute('window.scrollTo(0, 0);', []))

describe('saveFullPageScreen method with folder options', () => {
Expand Down
Loading