scrabble-solver
Version:
Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Crossplay, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.
25 lines (20 loc) • 776 B
text/typescript
import { getSettingOption, getSettingsButton, unregisterServiceWorkers, visitIndex } from '../../support';
/*
* @see https://github.com/kamilmielnik/scrabble-solver/issues/333
*/
describe('#333 - Disabled radio button has cursor: pointer', () => {
beforeEach(async () => {
await unregisterServiceWorkers();
});
afterEach(() => {
cy.clearLocalStorage();
});
it('Disabled radio button has cursor: not-allowed', () => {
visitIndex();
getSettingsButton().realClick();
getSettingOption('Language', 'Polski').check();
getSettingOption('Gra', 'Scrabble').scrollIntoView();
getSettingOption('Gra', 'Super Scrabble').should('be.disabled');
getSettingOption('Gra', 'Super Scrabble').should('have.css', 'cursor', 'not-allowed');
});
});