Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-09-29 21:09:52 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-29 21:09:52 +0300
commit5c2377d19572bdaaa6026fa6be131c3649074b36 (patch)
tree04acff23fd41360701c29c8694d24e587bc7ac5a /spec/frontend/helpers
parent20fda899a62cc27a4d40a168640e7e926c69eb62 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/helpers')
-rw-r--r--spec/frontend/helpers/wait_for_text.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/frontend/helpers/wait_for_text.js b/spec/frontend/helpers/wait_for_text.js
new file mode 100644
index 00000000000..6bed8a90a98
--- /dev/null
+++ b/spec/frontend/helpers/wait_for_text.js
@@ -0,0 +1,3 @@
+import { findByText } from '@testing-library/dom';
+
+export const waitForText = async (text, container = document) => findByText(container, text);