Hi !
So I have a suite looking like that :
fixture(`Test Suite Example`)
.page(config.app.url)
.beforeEach(async t => {
t.fixtureCtx.var1 = await function_that_will_return_a_different_result()
});
test('Test Example 1', async t => {
console.log( t.fixtureCtx.var1)
await someFunction(t.fixtureCtx.var1)
});
test('Test Example 2', async t => {
console.log( t.fixtureCtx.var1)
await someFunction(t.fixtureCtx.var1)
});
Can someone explain to me why the value of t.fixtureCtx.var1 is different when i console.log it BUT it's the SAME inside the function 'someFunction' ?
Thank you !!