diff --git a/README.md b/README.md new file mode 100644 index 0000000..258406f --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +nesto s0tp mozda nikada necu vise otvoriti \ No newline at end of file diff --git a/test/specs/basic.e2e.js b/test/specs/basic.e2e.js index 40aed5d..752e409 100644 --- a/test/specs/basic.e2e.js +++ b/test/specs/basic.e2e.js @@ -1,6 +1,32 @@ -describe('Open Wdio Website', () => { - it('Proper title is displayed', () => { - browser.url('https://webdriver.io/'); - expect(browser).toHaveTitle('WebdriverIO ยท Next-gen browser and mobile automation test framework for Node.js | WebdriverIO'); +describe('shoutem pricing lista', () => { + it('postoji li h1 element', async () => { + await browser.url('https://shoutem.com/pricing/'); + + const h1 = $('h1'); + + await expect(h1).toHaveText('There are more ways to create apps with Shoutem'); + + + + + }) +}); + + +describe('button', () => { + it('je li klikabilan i otvara li se nova stranica heheheheheheheh', async () => { + + + await browser.url('https://shoutem.com/apps/social-network/'); + + const buildnow = await $('a=Build now'); + await buildnow.click(); + + const link = await $('.page-title'); + + await expect(link).toHaveText('Choose an app template'); + + + }) })