mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
21 lines
531 B
JavaScript
21 lines
531 B
JavaScript
export const welcomeMessageShown = async app => {
|
|
await app.client.waitUntilTextExists(
|
|
'.onboarding__content__header h1',
|
|
'Welcome to Insomnia Designer',
|
|
);
|
|
};
|
|
|
|
export const clickDontShare = async app => {
|
|
await app.client
|
|
.$('.onboarding__content__body')
|
|
.then(e => e.$(`button=Don't share usage analytics`))
|
|
.then(e => e.click());
|
|
};
|
|
|
|
export const clickSkipImport = async app => {
|
|
await app.client
|
|
.$('.onboarding__content__body')
|
|
.then(e => e.$(`button=Skip`))
|
|
.then(e => e.click());
|
|
};
|