Is there a way to do an IF condition on the metadata in the test script? For e.g
test.meta({ tablet: ‘true’, portrait: 'false', landscape: 'true' })(‘L0 | Tablet device’, async t => {
// Verify component exists in portrait and landscape mode
await t.expect(abc).ok();
// Verify component exists in landscape mode only
if (t.metadata.landscape == 'true') {
......
}
});