I am halfway through the evaluation period of TestCafé Studio, but suddenly encountered an interesting issue.
When I resume recording a test that calls a method from a PO file, TestCafé's UI turns completely black. The code tabs, the explorer, the reports and the top bar (with recording controls) disappear. The menu bar is still visible though. The browser window opens, methods from PO files are still executed and interactions are still recorded. If I close and restart TestCafé all the recorded input is there.
This used to work fine in the previous version of TestCafé.
The issue occurs with Chrome 93.0.4577.63 (64-bits) and Firefox 92.0 (64-bit).
Running tests that include method calls from PO files works fine.
Codeimport { Selector, t } from 'testcafe';
import { Page, TestData } from './helpers';
*[...]*
var page: Page;
*[...]*
fixture `Some fixture`
.page `http://localhost:4200`
.before(async () => {
page = new Page();
*[...]*
});
test('Register values', async (t: TestController) => {
await page.login(TestData.adminCredentials);
Codeimport { Selector, t } from 'testcafe';
export class Page {
constructor() { }
public async login(credentials) {
await t
.typeText(Selector('.dx-texteditor-input').nth(0), credentials.username)
.typeText(Selector('.dx-texteditor-input').nth(1), credentials.password)
.click('.dx-button');
}
public async logout() {
await t
.click(Selector('[name="userButton"] div'))
.click(Selector('span').withText('Logout'))
}
*[...]*
}
export class TestData {
public static readonly adminCredentials = { username: 'admin', password: '*[...]*' }
public static readonly testUserCredentials = { username: 'E2ETestUser', password: '*[...]*',
firstname: 'Test', lastname: 'User', isactive: true, role: 'User', email: 'bla@bla.com' }
[...]
}
Hello,
Thank you for your report. I reproduced the issue. We will research it and update this thread once we have results.
Hello Dmitry,
Do you maybe have an update on this issue?
TestCafé's most compelling feature is not working properly and the evaluation period ends this Friday.
Should the issue not be resolved before Friday, is there a way to re-evaluate TestCafé before deciding whether or not to continue using it?
Hello,
We are working on this issue, but we cannot give exact estimates as to when the fix will be ready.
As I can see from your profile, you obtained the Universal DevExpress subscription, which also includes a license for TestCafe Studio. So, you don't need to worry about the evaluation period. Just register TestCafe Studio using your subscription credentials.