Skip to content

Commit 29bdd24

Browse files
committed
Fix tests
1 parent f0a5f62 commit 29bdd24

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

static/app/components/group/groupSummary.spec.tsx

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ describe('GroupSummary', function () {
8989
});
9090

9191
await waitFor(() => {
92-
expect(screen.getByText("What's Wrong")).toBeInTheDocument();
92+
expect(screen.getByText('What Happened')).toBeInTheDocument();
9393
});
9494
expect(await screen.findByText('Test whats wrong')).toBeInTheDocument();
9595
expect(screen.getByText('In the Trace')).toBeInTheDocument();
9696
expect(screen.getByText('Test trace')).toBeInTheDocument();
97-
expect(screen.getByText('Possible Cause')).toBeInTheDocument();
97+
expect(screen.getByText('Initial Guess')).toBeInTheDocument();
9898
expect(screen.getByText('Test possible cause')).toBeInTheDocument();
9999
});
100100

@@ -110,12 +110,12 @@ describe('GroupSummary', function () {
110110
});
111111

112112
await waitFor(() => {
113-
expect(screen.getByText("What's Wrong")).toBeInTheDocument();
113+
expect(screen.getByText('What Happened')).toBeInTheDocument();
114114
});
115115
expect(await screen.findByText('Test whats wrong')).toBeInTheDocument();
116116
expect(screen.getByText('In the Trace')).toBeInTheDocument();
117117
expect(screen.getByText('Test trace')).toBeInTheDocument();
118-
expect(screen.getByText('Possible Cause')).toBeInTheDocument();
118+
expect(screen.getByText('Initial Guess')).toBeInTheDocument();
119119
expect(screen.getByText('Test possible cause')).toBeInTheDocument();
120120
});
121121

@@ -131,12 +131,12 @@ describe('GroupSummary', function () {
131131
});
132132

133133
await waitFor(() => {
134-
expect(screen.getByText("What's Wrong")).toBeInTheDocument();
134+
expect(screen.getByText('What Happened')).toBeInTheDocument();
135135
});
136136
expect(await screen.findByText('Test whats wrong')).toBeInTheDocument();
137137
expect(screen.getByText('In the Trace')).toBeInTheDocument();
138138
expect(screen.getByText('Test trace')).toBeInTheDocument();
139-
expect(screen.queryByText('Possible Cause')).not.toBeInTheDocument();
139+
expect(screen.queryByText('Initial Guess')).not.toBeInTheDocument();
140140
expect(screen.queryByText('Test possible cause')).not.toBeInTheDocument();
141141
});
142142

@@ -187,11 +187,11 @@ describe('GroupSummary', function () {
187187
});
188188

189189
await waitFor(() => {
190-
expect(screen.getByText("What's Wrong")).toBeInTheDocument();
190+
expect(screen.getByText('What Happened')).toBeInTheDocument();
191191
});
192192
expect(await screen.findByText('Test whats wrong')).toBeInTheDocument();
193193
expect(screen.queryByText('In the Trace')).not.toBeInTheDocument();
194-
expect(screen.getByText('Possible Cause')).toBeInTheDocument();
194+
expect(screen.getByText('Initial Guess')).toBeInTheDocument();
195195
expect(screen.getByText('Test possible cause')).toBeInTheDocument();
196196
});
197197

@@ -208,8 +208,12 @@ describe('GroupSummary', function () {
208208
);
209209

210210
await waitFor(() => {
211-
expect(screen.getByText("What's Wrong")).toBeInTheDocument();
211+
expect(screen.getByText('Initial Guess')).toBeInTheDocument();
212212
});
213-
expect(await screen.findByText('Test whats wrong')).toBeInTheDocument();
213+
expect(await screen.findByText('Test possible cause')).toBeInTheDocument();
214+
expect(screen.queryByText('What Happened')).not.toBeInTheDocument();
215+
expect(screen.queryByText('Test whats wrong')).not.toBeInTheDocument();
216+
expect(screen.queryByText('In the Trace')).not.toBeInTheDocument();
217+
expect(screen.queryByText('Test trace')).not.toBeInTheDocument();
214218
});
215219
});

0 commit comments

Comments
 (0)