Skip to content

Commit 3668885

Browse files
author
kim
committed
refactor: fix test
1 parent 6165476 commit 3668885

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypress/e2e/player/main.cy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ describe('Player View', () => {
238238
);
239239
});
240240

241-
it('Show all conversations', () => {
241+
it.only('Show all conversations', () => {
242242
const appData = [
243243
// first conversation
244244
{
@@ -312,7 +312,7 @@ describe('Player View', () => {
312312

313313
expect(rows[0]).to.contain(appData[0].data.content);
314314
// content is cut because it is too long
315-
expect(rows[1]).to.contain(appData[1].data.content.slice(0, 10));
315+
expect(rows[1]).to.contain(appData[2].data.content.slice(0, 10));
316316
expect(rows[2]).to.contain(appData[3].data.content);
317317
});
318318

@@ -330,7 +330,7 @@ describe('Player View', () => {
330330
cy.get('button:contains("Go back to conversations")').click();
331331

332332
// go to second legacy conversation
333-
goToConversation(appData[1]);
333+
goToConversation(appData[2]);
334334
// expect one user message only
335335
cy.get(buildDataCy(buildCommentContainerDataCy(appData[1].id))).should(
336336
'be.visible',

0 commit comments

Comments
 (0)