Skip to content

Commit

Permalink
Fix - Tests were failing
Browse files Browse the repository at this point in the history
Refactored pages and helper files.
  • Loading branch information
MarkTheTestStrategist committed Feb 28, 2025
1 parent 7442113 commit 2cd4668
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions helpers/dynamicClick.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { test, expect } from '@playwright/test';

module.exports = {
async performClicks(page) {
// Click on the first set of elements
Expand Down
2 changes: 1 addition & 1 deletion pages/navigate.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { urls } = require('../config/urlLibrary');
const urls = require('../config/urlLibrary');

class Navigate {
constructor(page) {
Expand Down

0 comments on commit 2cd4668

Please sign in to comment.