Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
planner-team-one
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
21
Issues
21
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Евгений Положенцев
planner-team-one
Commits
744a36a7
Commit
744a36a7
authored
Dec 05, 2022
by
Ermolaev Timur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#86
чуть отредактировал тест входа
parent
c6d44a14
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
AdminMenu.js
planner-front/src/components/Menus/AdminMenu/AdminMenu.js
+1
-0
WorkerMenu.js
planner-front/src/components/Menus/WorkerMenu/WorkerMenu.js
+1
-0
login.feature
planner-tests/features/login.feature
+1
-1
login_steps.js
planner-tests/step_definitions/login_steps.js
+2
-2
No files found.
planner-front/src/components/Menus/AdminMenu/AdminMenu.js
View file @
744a36a7
...
@@ -74,6 +74,7 @@ const AdminMenu = () => {
...
@@ -74,6 +74,7 @@ const AdminMenu = () => {
<
Button
<
Button
color
=
"inherit"
color
=
"inherit"
onClick
=
{
handleClick
}
onClick
=
{
handleClick
}
id
=
'test_greetings'
>
>
Hello
,
{
user
?.
displayName
}
Hello
,
{
user
?.
displayName
}
<
/Button
>
<
/Button
>
...
...
planner-front/src/components/Menus/WorkerMenu/WorkerMenu.js
View file @
744a36a7
...
@@ -58,6 +58,7 @@ const WorkerMenu = () => {
...
@@ -58,6 +58,7 @@ const WorkerMenu = () => {
<
Button
<
Button
color
=
"inherit"
color
=
"inherit"
onClick
=
{
handleClick
}
onClick
=
{
handleClick
}
id
=
'test_greetings'
>
>
Hello
,
{
user
?.
displayName
}
Hello
,
{
user
?.
displayName
}
<
/Button
>
<
/Button
>
...
...
planner-tests/features/login.feature
View file @
744a36a7
...
@@ -6,4 +6,4 @@
...
@@ -6,4 +6,4 @@
Если
я ввожу в поле
"email"
текст
"a@a.a0"
Если
я ввожу в поле
"email"
текст
"a@a.a0"
И
я ввожу в поле
"password"
текст
"123"
И
я ввожу в поле
"password"
текст
"123"
И
я нажимаю на кнопку
"#test_login"
И
я нажимаю на кнопку
"#test_login"
То
я перехожу на главную
"/"
То
я вижу элемент
"#test_greetings"
\ No newline at end of file
\ No newline at end of file
planner-tests/step_definitions/login_steps.js
View file @
744a36a7
...
@@ -12,6 +12,6 @@ When('я нажимаю на кнопку {string}', (buttonId) => {
...
@@ -12,6 +12,6 @@ When('я нажимаю на кнопку {string}', (buttonId) => {
I
.
click
(
buttonId
)
I
.
click
(
buttonId
)
});
});
Then
(
'я
перехожу на главную {string}'
,
(
page
)
=>
{
Then
(
'я
вижу элемент {string}'
,
(
text
)
=>
{
I
.
amOnPage
(
page
)
I
.
waitForElement
(
text
,
5
)
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment