The test file template in the spectre qa module should be updated to have details instead of the bare bones test file that gets created today.
The template should be updated to the following:
// All imports go here
// Remember to use async/await syntax within it block
import { expect } from 'chai';
describe('<test-name> test scenarios', async () => {
it('should carry out some action', async () => {
// Enter test details
});
});
The method to scaffold the test file from the template should also be updated to ensure the correct template string is replaced.
The test file template in the spectre qa module should be updated to have details instead of the bare bones test file that gets created today.
The template should be updated to the following:
The method to scaffold the test file from the template should also be updated to ensure the correct template string is replaced.