Just a simple question in optimizing my test.
It is possible to create a single test can identify which browser you are using and then it will execute that test create for that browser
For example:
If detects chrome it will run this and it will not run in firefox
describe('Sample test', () => {
it('verify header!', () => {
get('#Header')
})
})
If detects firefox it will run this and it will not run in chrome
describe('Sample test', () => {
it('verify header!', () => {
get('#fixHeader')
})
})