robotframework-docker-action
robotframework-docker-action copied to clipboard
Unable to access resource file while running robot test
[ ERROR ] [ DataDriver ] Error in robot file: File "/opt/robotframework/tests/crm.robot", line 0 [ ERROR ] In source file: File "../test_data/test_data2.xlsx", line 0 [ ERROR ] Calling method '_start_suite' of listener 'DataDriver' failed: FileNotFoundError: File attribute was not a full path. Tried to find /opt/robotframework/tests/../test_data/test_data2.xlsx but file does not exist. Test Template | PASS | Skipping Test
/
- name: Robot Framework test execution # You may pin to the exact commit or the version. # uses: joonvena/robotframework-docker-action@3e8b84bd3e3a82b9dc854cf47c82a768f740c14d uses: joonvena/[email protected] with:
# Directory where Robot tests are located in the repository
robot_tests_dir: test
├── .github │ └── workflows │ └── robot.yml └── test ├── MyLibrary.py └── tests.robot └── test_data ├ └── test_data.xlsx