Skip to content
Open
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Browser Automation

Basic browser automation techniques for the CS-5704 Testing workshop
Basic browser automation techniques for the CS-3704 Development Environments and Testing workshop.
6 changes: 3 additions & 3 deletions test/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ describe('Duck Duck Go search using basic Puppeteer', function () {
});

it('should be the correct url', async () => {
expect(await page.url()).to.eql('https://google.com/');
expect(await page.url()).to.eql('https://duckduckgo.com/');
});

it('should have the correct page title', async () => {
expect(await page.title()).to.eql('DuckDuckGo — Privacy, simplified.');
});

it('should have the page open', async () => {
expect(await page.isClosed()).to.eql(true);
expect(await page.isClosed()).to.eql(false);
});
});
});