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

[qase-wdio] Way with using a separate config file doesn't work #661

Open
Lara2409 opened this issue Aug 22, 2024 · 1 comment
Open

[qase-wdio] Way with using a separate config file doesn't work #661

Lara2409 opened this issue Aug 22, 2024 · 1 comment

Comments

@Lara2409
Copy link

When I use way with environment variables, I see Automated run in Test Runs section and everything is ok.
But when I add separate config file qase.config.json in root directory and want to use this way:

{
  "mode": "testops",  
  "testops": {
    "api": {
      "token": "api_key"
    },
    "project": "project_code",
    "run": {
      "complete": true
    }
  }
}

there is no any runs in Test Runs section.
Log example in Jenkins:

14:09:55  [0-0] TestResultType {
14:09:55  [0-0]   id: '22dfe6d7......',
14:09:55  [0-0]   title: 'General overview of the elements on the page',
14:09:55  [0-0]   signature: '',
14:09:55  [0-0]   run_id: null,
14:09:55  [0-0]   testops_id: [ 213 ],
14:09:55  [0-0]   execution: TestExecution {
14:09:55  [0-0]     status: 'passed',
14:09:55  [0-0]     start_time: 1724324990.202,
14:09:55  [0-0]     end_time: null,
14:09:55  [0-0]     duration: 5,
14:09:55  [0-0]     stacktrace: null,
14:09:55  [0-0]     thread: '0-0'
14:09:55  [0-0]   },
14:09:55  [0-0]   fields: {},
14:09:55  [0-0]   attachments: [],
14:09:55  [0-0]   steps: [
14:09:55  [0-0]     {
14:09:55  [0-0]       id: 'b057287b.......',
14:09:55  [0-0]       step_type: 'text',
14:09:55  [0-0]       data: [Object],
14:09:55  [0-0]       parent_id: '22dfe6d7.....',
14:09:55  [0-0]       execution: [Object],
14:09:55  [0-0]       steps: [Array],
14:09:55  [0-0]       attachments: []
14:09:55  [0-0]     }
14:09:55  [0-0]   ],
14:09:55  [0-0]   params: {},
14:09:55  [0-0]   author: null,
14:09:55  [0-0]   relations: { suite: { data: [Array] } },
14:09:55  [0-0]   muted: false,
14:09:55  [0-0]   message: null
14:09:55  [0-0] }
@gibiw
Copy link
Contributor

gibiw commented Aug 23, 2024

@Lara2409 Thank you for contacting us.
This is strange behavior. This problem is not reproduced by us.
Can you create a small test project where this problem is reproduced and send it to us?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants