-
Hi! I'm new to Testcafe and Testrail and I really want to use this plugin to have a smooth automation process, but I don't get any updates in Testrail :( Following versions do I use: My config file .testrailrc.json looks like this: {
"enabled": true,
"host":"https://URL.com/",
"user": "EMAIL",
"apiKey":"KEY",
"projectId":"P5",
"runId": "R47",
"caseMeta": "CID",
"updateRunTestCases": true
} My test Login.js: import { Selector } from 'testcafe'
fixture`Login`.page`https://URL.com`
test.meta({ CID: 'C1006' })('Login', async (t) => {
const usernameInput = Selector('#username')
await t.typeText(usernameInput, 'thisIsMyUsername')
await t.expect(usernameInput.value).eql('thisIsMyUsername', 'input is filled')
}) Did I forgot something or am I doing something wrong? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hello @TAkbay I think you should look at your Testrail instance and check if test results are added to your test run. https://testcafe.io/documentation/402638/reference/configuration-file#reporter
Since you still want the output to console via Additionally, you do not have to specify the If that still does not work, try setting |
Beta Was this translation helpful? Give feedback.
-
Found the solution I just checked your code how the plugin is working. |
Beta Was this translation helpful? Give feedback.
Found the solution I just checked your code how the plugin is working.
I had a .testrailrc.json but it should be called .testrailrc
So I misunterstood something.
The second thing was, that I needed to provide a suite ID. So I changed the project configuration in testrail and used the suite which was created by default.