- Added `wdio.conf.js` for configuring WebdriverIO. - Introduced `test/specs/sample.spec.js` for initial test case setup to validate home page loading. - Updated `vite.config.js` to include SCSS preprocessor configuration for improving CSS handling. - Added required dependencies for WebdriverIO and related services in `package-lock.json`.
8 lines
304 B
JavaScript
8 lines
304 B
JavaScript
describe('Mobile Web App Test', () => {
|
|
it('should load the homepage', async () => {
|
|
await browser.url('/');
|
|
const title = await browser.getTitle();
|
|
console.log('Page title:', title);
|
|
expect(title).toContain('Truck Wash'); // Adjust based on your app title
|
|
});
|
|
}); |