Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev --> Main #374

Merged
merged 31 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e02664b
Upgrade React SDK
rygine Sep 6, 2023
54cbf49
Integrate new React SDK
rygine Sep 6, 2023
f133dcb
Address PR feedback, fix rebase issue
rygine Sep 7, 2023
345ea12
Design updates
rygine Sep 8, 2023
a278a87
Fix connect_disconnect E2E test
rygine Sep 8, 2023
e877174
Update E2E tests
rygine Sep 11, 2023
fab460e
Remove commented out line
rygine Sep 11, 2023
b026404
Fix conversation selection for new conversations
rygine Sep 11, 2023
cd43d96
Merge pull request #362 from xmtp-labs/rygine/react-sdk-update
rygine Sep 11, 2023
060ff73
Upgrade React SDK, fix conversation issues
rygine Sep 13, 2023
735a45d
Fix /dm route
rygine Sep 13, 2023
36e1f1b
Merge pull request #366 from xmtp-labs/rygine/fixes
rygine Sep 13, 2023
8c4b544
Add `lodash` to dependencies
rygine Sep 17, 2023
ac8a33f
Remove unused MessagesPage
rygine Sep 17, 2023
8df1b47
Minor styling updates to prevent layout shifting
rygine Sep 17, 2023
35276e6
Update address loading message
rygine Sep 17, 2023
ff876f4
Fix story types
rygine Sep 17, 2023
e1a2416
Refactor address and name lookups
rygine Sep 17, 2023
8ecf7b7
Address PR feedback
rygine Sep 19, 2023
688fe53
Fix input state
rygine Sep 19, 2023
0752945
Properly select feedback convo after init
rygine Sep 21, 2023
0387d99
More updates
rygine Sep 21, 2023
1688070
Fix display of + icon in HeaderDropdown
rygine Sep 21, 2023
8b40da0
Merge pull request #367 from xmtp-labs/rygine/test
rygine Sep 25, 2023
c2ae639
add snaps flow
Sep 25, 2023
f95179c
bump version to fix e2e tests
Sep 25, 2023
adae6db
updated type
Sep 25, 2023
9e583b1
add comment
Sep 25, 2023
2707dd9
Merge pull request #370 from xmtp-labs/dj/metamask-snaps
daria-github Sep 25, 2023
e6f240c
add custom wallets
Sep 27, 2023
6181fb8
Merge pull request #372 from xmtp-labs/dj/extend-wallets
daria-github Sep 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/e2e/connect_disconnect.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe(
checkElement("conversations-list-panel");
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(500);
cy.get(`[data-testid=message-tile-text]`, { timeout: TIMEOUT })
cy.get(`[data-testid=message-preview-text]`, { timeout: TIMEOUT })
.first()
.should("exist");
});
Expand Down
11 changes: 6 additions & 5 deletions cypress/test_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const enterWalletAddress = (testUser: string) => {

const checkExpectedPreMessageFields = () => {
cy.wait(1000);
checkElement("message-beginning-text");
checkElement("message-input");
checkElement("message-input-submit");
};
Expand All @@ -42,9 +41,10 @@ const sendMessages = (
for (let i = 0; i < numberOfTimes; i++) {
// Enters message
checkElement("message-input").type(message, { delay: 1 });
cy.wait(100);
checkElement("message-input-submit");
cy.get(`[data-testid=message-input-submit]`).click();
cy.wait(100);
cy.wait(1000);
cy.get(`[data-testid=conversations-list-panel]`, {
timeout: TIMEOUT,
}).should("have.length", 1);
Expand All @@ -54,6 +54,7 @@ const sendMessages = (
const differentMessage = "differentMessage";
// Send additional different message, check that different message was returned in correct order
checkElement("message-input").type(differentMessage, { delay: 1 });
cy.wait(1000);
checkElement("message-input-submit");
cy.get(`[data-testid=message-input-submit]`).click();
}
Expand Down Expand Up @@ -82,11 +83,11 @@ const checkMostRecentMessageOutput = (
) => {
cy.get(`[data-testid=message-tile-container]`, { timeout: TIMEOUT })
.children()
.should("have.length", numberOfTimes + 1);
.should("have.length", numberOfTimes);

cy.get(`[data-testid=message-tile-text]`, { timeout: TIMEOUT })
.children()
.eq(1)
.eq(numberOfTimes - 1)
.should("have.text", differentMessage);
};

Expand All @@ -107,6 +108,6 @@ export const sendAndEnterMessage = (
// Send additional different message, check that different message was returned in correct order
checkMostRecentMessageOutput(numberOfTimes + 1, differentMessage);
} else {
checkMessageOutput(numberOfTimes + 1, message);
checkMessageOutput(numberOfTimes, message);
}
};
Loading