Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3: can't open file '/home/runner/work/irctc-cypress-automation/irctc-cypress-automation/irctc-captcha-solver/app.py': [Errno 2] No such file or directory #95

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/irctc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
cache: 'pip' # caching pip dependencies
- run: |
sudo timedatectl set-timezone Asia/Kolkata

pip install -r irctc-captcha-solver/requirements.txt
python3 irctc-captcha-solver/app.py "" # python3 irctc-captcha-solver/app.py "" is used for models to load before starting tatkal tickets
PASSWORD=$(jq -r '.inputs.PASSWORD' $GITHUB_EVENT_PATH)
Expand Down
6 changes: 3 additions & 3 deletions cypress.env.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"USERNAME": "Shivamguys",
"PASSWORD": "SHIVAMpandey1!",
"USERNAME": USERMKY",
"PASSWORD": "Yadav@2002",
"MANUAL_CAPTCHA": false
}
}
21 changes: 7 additions & 14 deletions cypress/fixtures/passenger_data.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
{
"TRAIN_NO": "13185",
"TRAIN_NO": "19408",
"TRAIN_COACH": "3A",
"TRAVEL_DATE": "24/08/2024",
"SOURCE_STATION": "SDAH",
"TRAVEL_DATE": "30/11/2024",
"SOURCE_STATION": "BSB",
"BOARDING_STATION": null,
"DESTINATION_STATION": "DBG",
"DESTINATION_STATION": "ADI",
"TATKAL": true,
"PREMIUM_TATKAL": false,
"UPI_ID_CONFIG": "",
"UPI_ID_CONFIG": "my6816063@oksbi",
"PASSENGER_DETAILS": [
{
"NAME": "Shivam Pandey",
"AGE": 26,
"NAME": "Akshay Singh Yadav",
"AGE": 31,
"GENDER": "Male",
"SEAT": "No Preference",
"FOOD": "No Food"
},
{
"NAME": "Shivam Dubey",
"AGE": 26,
"GENDER": "Female",
"SEAT": "No Preference",
"FOOD": "No Food"
}
],
"__valid_coaches__": "SL | 2A | 3A | 3E | 1A | CC | EC | 2S",
"__valid_seats__": "Lower | Middle | Upper | Side Lower | Side Upper | Window Side | No Preference",
Expand Down