stefanjenkner / payback-activate

CURRENTLY BROKEN - Activating Payback coupons in an automated way
MIT License
22 stars 3 forks source link

Synology Docker Bug #126

Open maxbec opened 1 year ago

maxbec commented 1 year ago

Hey. Following your instructions i get the following error... Any idea?

2023-11-30T07:58:35.888Z INFO chromedriver: Initiate Chromedriver Launcher (v8.1.1)
2023-11-30T07:58:35.890Z INFO @wdio/cli:launcher: Run onPrepare hook
2023-11-30T07:58:35.893Z INFO chromedriver: Start Chromedriver (/app/node_modules/chromedriver/lib/chromedriver/chromedriver) with args --port=9515 --url-base=/
2023-11-30T07:58:36.148Z INFO chromedriver: Starting ChromeDriver 119.0.6045.159 (eaa767197fa7dd412133d1b84f7eb60da43409c9-refs/branch-heads/6045@{#1327}) on port 9515
2023-11-30T07:58:36.149Z INFO chromedriver: Only local connections are allowed.
2023-11-30T07:58:36.149Z INFO chromedriver: Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
2023-11-30T07:58:36.151Z WARN chromedriver: [1701331116.151][SEVERE]: bind() failed: Address not available (99)
2023-11-30T07:58:36.151Z INFO chromedriver: ChromeDriver was started successfully.
2023-11-30T07:58:36.243Z INFO @wdio/cli:launcher: Run onWorkerStart hook
2023-11-30T07:58:36.245Z INFO @wdio/local-runner: Start worker 0-0 with arg: run,./wdio.conf.js
[0-0] 2023-11-30T07:58:38.459Z INFO @wdio/local-runner: Run worker command: run
[0-0] RUNNING in chrome - file:///test/specs/payback.js
[0-0] 2023-11-30T07:58:38.710Z INFO webdriver: Initiate new session using the WebDriver protocol
[0-0] 2023-11-30T07:58:38.879Z INFO webdriver: [POST] http://localhost:9515/session
[0-0] 2023-11-30T07:58:38.880Z INFO webdriver: DATA {
[0-0]   capabilities: {
[0-0]     alwaysMatch: {
[0-0]       browserName: 'chrome',
[0-0]       acceptInsecureCerts: true,
[0-0]       'goog:chromeOptions': [Object]
[0-0]     },
[0-0]     firstMatch: [ {} ]
[0-0]   },
[0-0]   desiredCapabilities: {
[0-0]     browserName: 'chrome',
[0-0]     acceptInsecureCerts: true,
[0-0]     'goog:chromeOptions': { args: [Array] }
[0-0]   }
[0-0] }
[0-0] Error in "Payback Activate should verify if credentials are set in environment variables"
    at <Jasmine>
    at UserContext.<anonymous> (file:///app/test/specs/payback.js:9:46)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
stefanjenkner commented 11 months ago

Thank you for bringing this up and sorry for the delay!

For me it looks like the environment variables PAYBACK_USERNAME and PAYBACK_PASSWORD were not provided.

However, this project is currently broken as Payback changed the login form and introduced reCaptcha - see #28