shivamguys / irctc-cypress-automation

Tatkal and Normal train Booking Automation in 1 Minute ✔️ Signing in with your username and password. ✔️ Auto Upgradation Enabled. ✔️ Filling Captchas and retrying untill success. ✔️ Support for Food Choices, Seats Preferences. ✔️ Payment Gateway Automation (Paying With UPI ID OR QR Code).
92 stars 142 forks source link

Remove seconds from tatkal open time #15

Closed drtechie closed 8 months ago

drtechie commented 8 months ago
shivamguys commented 8 months ago

ohhh thanks for letting me know

On Sun, Dec 31, 2023 at 4:58 PM Mithun James @.***> wrote:

@.**** commented on this pull request.

In cypress/utils/index.js https://github.com/shivamguys/irctc-cypress-automation/pull/15#discussion_r1438868218 :

@@ -27,5 +27,5 @@ export const hasTatkalAlreadyOpened = (TRAIN_COACH) => {

export function tatkalOpenTimeForToday(TRAIN_COACH) { const openTime = tatkalOpenTimings[TRAIN_COACH]

  • return ${dayjs().format('DD-MMM-YYYY')} [${openTime}]
  • return [${openTime}

We are checking for [10:00:X]. X can 01, 02 etc. So the exact text that we will check is [10:00.

The closing square bracket I omitted intentionally. Travelling now. Will run and check again once.

— Reply to this email directly, view it on GitHub https://github.com/shivamguys/irctc-cypress-automation/pull/15#discussion_r1438868218, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAX65LEGMADR22B3QE44NDYMFD4RAVCNFSM6AAAAABBHKEZKKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTOOJZGY2DENBSGQ . You are receiving this because you modified the open/close state.Message ID: @.*** com>

-- Thanks Shivam Pandey