Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jose Aurelio do Carmo Ribeiro
PPE2BDD
Commits
9f9eba9b
Commit
9f9eba9b
authored
Aug 03, 2021
by
Jose Aurelio do Carmo Ribeiro
Browse files
Commit para ajustar novos cenários
parent
cd9c04ad
Changes
5
Hide whitespace changes
Inline
Side-by-side
cypress.json
View file @
9f9eba9b
...
...
@@ -2,7 +2,7 @@
"viewportWidth"
:
1920
,
"viewportHeight"
:
1080
,
"defaultCommandTimeout"
:
10000
,
"baseUrl"
:
"http://ppe2srv.tecgraf.puc-rio.br/"
,
"baseUrl"
:
"http://ppe2srv
-prod
.tecgraf.puc-rio.br/"
,
"ignoreTestFiles"
:
[
"*.js"
,
"*.ts"
,
"*.md"
],
"testFiles"
:
"**/*.feature"
}
\ No newline at end of file
cypress/integration/steps/CriarSimulacao/CriarSimulacao.js
View file @
9f9eba9b
...
...
@@ -36,7 +36,7 @@ When("Seleciono um arquivo SR3 para modelo Reservatorio", () => {
entradaDados
.
selecionarPrimeiroProjeto
()
entradaDados
.
digitarNome
(
'
Teste Automatizado
'
)
entradaDados
.
digitarDescricao
(
'
Teste Automatizado
'
)
entradaDados
.
digitarURLPasta
(
'
F
:
\\
#Exemplos
\\
M
odelosReservatorio
'
)
entradaDados
.
digitarURLPasta
(
'
T
:
\\
m
odelos
\\
_
Reservatorio
s
'
)
entradaDados
.
selecionarPrimeiroArquivoReservatorio
()
entradaDados
.
clicarBotaoSelecionarModeloReservatorio
()
elementosPropriedades
=
entradaDados
.
clicarBotaoProximo
()
...
...
cypress/support/elements/HomeElements.js
View file @
9f9eba9b
...
...
@@ -5,7 +5,7 @@ class HomeElements {
botaoEntrar
=
()
=>
{
return
'
.d-flex > .btn
'
}
botaoCriarSimulacao
=
()
=>
{
return
'
.btn
'
}
botaoCriarSimulacao
=
()
=>
{
return
'
#botao-criar-novo-grupo-simulacao
'
}
}
export
default
HomeElements
;
\ No newline at end of file
cypress/support/elements/SimulacaoElements.js
View file @
9f9eba9b
class
SimulacaoElements
{
canvasGrafico
=
()
=>
{
return
'
canvas
'
}
graficoCanvas
=
()
=>
{
return
'
canvas
'
}
}
...
...
cypress/support/pageobjects/Simulacao.js
View file @
9f9eba9b
...
...
@@ -7,7 +7,8 @@ const simulacaoElements = new SimulacaoElements
class
Simulacao
{
verificarExibicaoGrafico
()
{
cy
.
get
(
simulacaoElements
.
canvasGrafico
).
should
(
'
be.visible
'
)
var
element
=
cy
.
get
(
simulacaoElements
.
graficoCanvas
())
element
.
should
(
'
exist
'
).
end
()
}
verificarUrl
()
{
...
...
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