|
1 | 1 | describe('The Home Page', function() { |
2 | 2 | it('Successfull rendering', function() { |
3 | | - cy.visit('http://localhost:3000/') |
| 3 | + cy.visit('http://localhost:8080/') |
4 | 4 | }) |
5 | 5 |
|
6 | 6 | it('Check Submit Button', function() { |
7 | | - cy.visit('http://localhost:3000/') |
| 7 | + cy.visit('http://localhost:8080/') |
8 | 8 | cy.contains('Submit Booking').click() |
9 | 9 | }); |
10 | 10 | }); |
11 | 11 |
|
12 | 12 | describe("Test blur events", () => { |
13 | 13 | it('Successfull rendering', function() { |
14 | | - cy.visit('http://localhost:3000/') |
| 14 | + cy.visit('http://localhost:8080/') |
15 | 15 | }) |
16 | 16 |
|
17 | 17 | it("Customer Name blur (Text field)", () => { |
@@ -52,7 +52,7 @@ describe("Test blur events", () => { |
52 | 52 |
|
53 | 53 | describe("Test change event", () => { |
54 | 54 | it('Successfull rendering', function() { |
55 | | - cy.visit('http://localhost:3000/') |
| 55 | + cy.visit('http://localhost:8080/') |
56 | 56 | }); |
57 | 57 |
|
58 | 58 | it("Customer Name change event (Text field)", () => { |
@@ -100,7 +100,7 @@ describe("Test change event", () => { |
100 | 100 |
|
101 | 101 | describe("Fill form fields", () => { |
102 | 102 | it('Successfull rendering', function() { |
103 | | - cy.visit('http://localhost:3000/') |
| 103 | + cy.visit('http://localhost:8080/') |
104 | 104 | }); |
105 | 105 |
|
106 | 106 | it("Type customer name (Text field)", () => { |
@@ -143,7 +143,7 @@ describe("Fill form fields", () => { |
143 | 143 |
|
144 | 144 | describe("Test validation rules in form fields", () => { |
145 | 145 | beforeEach("Render home page", () => { |
146 | | - cy.visit('http://localhost:3000/'); |
| 146 | + cy.visit('http://localhost:8080/'); |
147 | 147 | }) |
148 | 148 | describe("Customer name (required)", () => { |
149 | 149 | it("Empty fields should display error message", () => { |
|
0 commit comments