Skip to content

Commit

Permalink
Log output from failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
olmoh committed Jan 16, 2025
1 parent c06918b commit 466558e
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,14 @@ test('App should log in to expired account', async () => {
await expect(subtitle).toHaveText('Enter your account number');

await loginInput.fill(accountNumber);
const currentTime = Date.now();

const accountGetOutput = execSync('mullvad account get -v');
console.log('Test state', {
accountNumber,
accountGetOutput,
currentTime,
});

expect(
await util.waitForNavigation(async () => {
Expand Down

0 comments on commit 466558e

Please sign in to comment.