isolating clipboard tests into their own suite to enforce clipboard copy

This commit is contained in:
Philip Mateescu 2017-07-09 12:07:31 -05:00 committed by Horace He
parent 1adfba81e0
commit 2ad726ab04

View File

@ -24,20 +24,24 @@ suite('register', () => {
end: ['two', '|one'],
});
util.clipboardCopy('12345');
suite('clipboard', () => {
setup(async () => {
util.clipboardCopy('12345');
});
newTest({
title: "Can access '*' (clipboard) register",
start: ['|one'],
keysPressed: '"*P',
end: ['1234|5one'],
});
newTest({
title: "Can access '*' (clipboard) register",
start: ['|one'],
keysPressed: '"*P',
end: ['1234|5one'],
});
newTest({
title: "Can access '+' (clipboard) register",
start: ['|one'],
keysPressed: '"+P',
end: ['1234|5one'],
newTest({
title: "Can access '+' (clipboard) register",
start: ['|one'],
keysPressed: '"+P',
end: ['1234|5one'],
});
});
newTest({