diff --git a/test/auro-flight-main.test.js b/test/auro-flight-main.test.js index 927e0aa..210fd0a 100644 --- a/test/auro-flight-main.test.js +++ b/test/auro-flight-main.test.js @@ -16,8 +16,6 @@ describe('auro-flight-main', () => { `); - console.log("this:", el.shadowRoot.querySelector('.departureTime')); - await expect(el.shadowRoot.querySelector('.departureTime').querySelector('[auro-datetime]').getAttribute('setDate')).to.equal('2022-05-04T00:30:00-07:00'); await expect(el.shadowRoot.querySelector('.arrivalTime').querySelector('[auro-datetime]').getAttribute('setDate')).to.equal('2022-05-04T11:55:00-04:00'); await expect(el.shadowRoot.querySelector('.departureStation').textContent.trim()).to.contain('SEA'); @@ -108,8 +106,8 @@ describe('auro-flight-main', () => { `); const expectedDepartureCity = `L A X`, - expectedDepartureTime = `12:30 AM`, - expectedReroutedFlight = 'Flight S E A to P V D has been re-routed.'; + expectedDepartureTime = `12:30 AM`, + expectedReroutedFlight = 'Flight S E A to P V D has been re-routed.'; const actual = el.shadowRoot.querySelector('.util_displayHiddenVisually').textContent.trim().replace(/\n|\r/g, ""); const departureRerouteSpan = el.shadowRoot.querySelector('.departureStation .util_lineThrough'); @@ -135,7 +133,7 @@ describe('auro-flight-main', () => { `); const expectedArrival = 'and arrives S F O at 11:55 AM', - expectedReroutedFlight = 'Flight S E A to P V D has been re-routed.'; + expectedReroutedFlight = 'Flight S E A to P V D has been re-routed.'; const actual = el.shadowRoot.querySelector('.util_displayHiddenVisually').textContent.trim().replace(/\n|\r/g, ""); const departureRerouteSpan = el.shadowRoot.querySelector('.departureStation .util_lineThrough'); @@ -161,9 +159,9 @@ describe('auro-flight-main', () => { `); const expectedDepartureCity = `L A X`, - expectedDepartureTime = `12:30 AM`, - expectedArrival = 'and arrives S F O at 11:55 AM', - expectedReroutedFlight = 'Flight S E A to P V D has been re-routed.'; + expectedDepartureTime = `12:30 AM`, + expectedArrival = 'and arrives S F O at 11:55 AM', + expectedReroutedFlight = 'Flight S E A to P V D has been re-routed.'; const actual = el.shadowRoot.querySelector('.util_displayHiddenVisually').textContent.trim().replace(/\n|\r/g, ""); const departureRerouteSpan = el.shadowRoot.querySelector('.departureStation .util_lineThrough');