calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Add_UI_Test/Cypress/Basic_tests

Open Lisafiluz opened this issue 5 years ago • 5 comments

Lisafiluz avatar Feb 02 '21 20:02 Lisafiluz

Are cypress/support and cypress/plugins necessary?

yammesicka avatar Feb 03 '21 07:02 yammesicka

cypress/support handles all the logic of the commands (functions to doings things in the UI) and services (functions to doings things with requests - directly to the server)

cypress/plugins in not necessary for now, but I'll continue to write tests when the most of the UI functionality will merge to dev so if it never be used I'll delete it.

Lisafiluz avatar Feb 03 '21 07:02 Lisafiluz

Hey, another point which is worth fixing is the file names. The Google JavaScript Style Guide says:

File names must be all lowercase and may include underscores (_) or dashes (-), but no additional punctuation. Follow the convention that your project uses.

So your files such as "ProfilePage/cy_User_Card_Actions.js" should be renamed and I'd say to lowercase, to match our *.py files.

Gonzom avatar Feb 04 '21 11:02 Gonzom

Codecov Report

Merging #190 (7dbe7af) into develop (b91708d) will increase coverage by 4.21%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #190      +/-   ##
===========================================
+ Coverage    95.15%   99.36%   +4.21%     
===========================================
  Files           76       36      -40     
  Lines         3382     1418    -1964     
===========================================
- Hits          3218     1409    -1809     
+ Misses         164        9     -155     
Impacted Files Coverage Δ
app/database/database.py 100.00% <ø> (ø)
app/database/models.py 95.83% <0.00%> (-1.31%) :arrow_down:
app/dependencies.py 100.00% <0.00%> (ø)
app/telegram/bot.py 100.00% <0.00%> (ø)
app/routers/email.py 100.00% <0.00%> (ø)
app/internal/email.py 100.00% <0.00%> (ø)
app/routers/agenda.py 100.00% <0.00%> (ø)
app/routers/export.py 100.00% <0.00%> (ø)
app/routers/search.py 100.00% <0.00%> (ø)
app/internal/search.py 100.00% <0.00%> (ø)
... and 67 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b91708d...b8cd8d3. Read the comment docs.

codecov-io avatar Feb 23 '21 11:02 codecov-io

Conflicts fixed

Lisafiluz avatar Feb 23 '21 11:02 Lisafiluz