Commit graph

330 commits

Author SHA1 Message Date
rajavi-mishra
60b5e9a1c9
testing 2021-05-01 17:59:23 -07:00
Jimmy
a526938fa9
[style]Fix style 2021-05-01 17:59:19 -07:00
Jimmy
6f9a6e2275
[fix]Store current time to a variable to make sure timestamps are the same 2021-05-01 17:59:18 -07:00
Jimmy
ef119d0fb6
[fix]Change wording when no events is happening now or next 2021-05-01 17:59:18 -07:00
Jimmy
924d6d4e25
[fix]Remove print 2021-05-01 17:59:15 -07:00
Jimmy
6461d94dd0
[fix]Use full_splashpage instead of splashpage 2021-05-01 17:59:15 -07:00
Jimmy
e6afb99dd6
[temp]Print page.html 2021-05-01 17:59:14 -07:00
Jimmy
6d9b679cef
[test]Use scenario instead of it 2021-05-01 17:59:13 -07:00
Jimmy
35f216778b
[temp]Try feature:true 2021-05-01 17:59:12 -07:00
Jimmy
41312a4099
[fix]Fix splashpage spec 2021-05-01 17:59:11 -07:00
Jimmy
62fc8b27e4
[test]Add integration tests for the happening now section on the splashpage 2021-05-01 17:59:10 -07:00
Michael Ball
82e45fff0a fix typo in spec 2021-03-24 02:28:43 -07:00
Michael Ball
e810fd442f Cleanup the submission form, fix reset button 2021-03-23 23:06:34 -07:00
Michael Ball
76df9c9782 Fix typo in spec 2021-03-23 12:33:41 -07:00
Michael Ball
2899da9823 Update spec with submission instructions. 2021-03-22 03:21:11 -07:00
Jimmy
130bff9506 [fix] change pending to skip to satisfy CI 2021-03-10 16:36:09 -08:00
Jimmy
fb07a43566 [style] fix style 2021-03-10 16:20:01 -08:00
Jimmy
75baeb4f98 [fix] Fix ticket purchases tests 2021-03-10 16:17:34 -08:00
Jimmy
85c7b31a77 Merge branch 'master' of https://github.com/CactusPuppy/snapcon into 176895512-automatically-redirect-to-registration-after-buying-a-ticket 2021-03-10 14:58:01 -08:00
CactusPuppy
58ae746e78
Add test for covering Rest to Template button 2021-03-10 13:26:45 -08:00
Michael Ball
0428d07736 Fixup specs for stripe to acctually run and be accurate. Mostly.
* extracts a bunch of logic to be more native capybara
* updates for existing changes in the app
* using ENV directly is an antipattern...but oh well.
* TBD: Why is unregister failing?
2021-03-10 03:30:22 -08:00
Michael Ball
e311a65f02 Delint Autofix 2021-03-08 16:50:56 -08:00
Michael Ball
f3271f5cdc Merge master 2021-03-08 16:48:06 -08:00
Michael Ball
d1ca21f479 Merge OSEM updates 2021-03-08 02:50:27 -08:00
Michael Ball
2d1246448c Add some tests for the submission instructions 2021-03-08 02:13:57 -08:00
Michael Ball
bc4177154a Add editing submission instructions 2021-03-06 12:45:00 -08:00
Michael Ball
3d99661d02 Add a submission instructions columns 2021-03-06 11:30:57 -08:00
Henne Vogelsang
7f1d3b923a
Merge pull request #2662 from AndrewKvalheim/issue-2661-workaround
Fix bug in test of animated form
2021-03-06 20:02:04 +01:00
Andrew Kvalheim
07f1323eff
Fix bug in test of animated form
The help text for the event type field is animated using a technique
unaffected by `Capybara.disable_animation`. Wait for the animation.

Resolves: #2356
Works around: #2661
2021-03-06 19:43:35 +01:00
Andrew Kvalheim
c3e02c20b9
Use Rails transactional tests
As of Rails 5.1:

  - Rails has built-in support for running tests within database
    transactions, so Database Cleaner is no longer needed for this.
  - Rails automatically shares the database connection across threads,
    so transactional_capybara is no longer needed.

Changes:

  - Enable `use_transactional_tests`.
  - Remove transactional_capybara.
  - Remove the Database Cleaner test wrapper.

This resolves:

  - transactional_capybara mismanages the shared database connection,
    causing the connection to falsely report as idle after the first
    test. At 6 minutes (idle_timeout + reaping_frequency) into testing,
    the connection is closed, causing e.g. `PG::ConnectionBad` errors.
2021-03-06 19:41:06 +01:00
Stella Rouzi
cb7519f7a4
Check CfP existence in proposal form 2021-03-06 12:38:02 +01:00
Emily Gonyer
77accc1100
removed-gendered-terms 2021-03-06 03:27:38 +01:00
Henne Vogelsang
b688d353ac
Skip some failing specs... 2021-03-06 02:41:07 +01:00
Jimmy
6e3cdc2614 [test] Add test for auto-redirect 2021-03-04 22:05:55 -08:00
CactusPuppy
207046dc65
Merge pull request #11 from CactusPuppy/176894810/add_summision_text
Add submission text to event proposals
2021-03-01 23:38:06 -08:00
CactusPuppy
0aa33c497c
Ensure that user is actually guest when testing 2021-02-27 11:25:37 -08:00
Jimmy
05f877cfe5 [test] Add tests for previewing proposal in admin page 2021-02-25 11:15:23 -08:00
madhekare
16d9dfef4c
submission_text rspec 2021-02-24 23:41:19 -08:00
CactusPuppy
d63a22c54e
Fix Rubocop issues 2021-02-24 19:22:21 -08:00
Michael Ball
13aa7db90d use TODO-SNAPCON for the comment tag since rubocop is not flexible enough 2021-02-24 03:32:19 -08:00
Michael Ball
60b9684dd8 Sigh...skip one more annoying spec 2021-02-24 02:28:44 -08:00
Michael Ball
1f22827a8f Fixup version spec to reflect commercial wording 2021-02-23 22:36:15 -08:00
Michael Ball
dbc0b80aa4 Consistently use "Submit Proposal" wording 2021-02-23 22:19:26 -08:00
Michael Ball
9668a40248 Fixup splashpage spec reflecting logo change 2021-02-23 21:51:11 -08:00
Michael Ball
578a3125b7 Update proposals spec to reflect "Submit Proposal" button 2021-02-23 21:42:42 -08:00
Michael Ball
c6cb051447 Fix spec by creating a ticket purchase before a registration 2021-02-23 21:29:55 -08:00
Michael Ball
7b1cee3f6c Fixup admin spec, ensuring a valid registration exists 2021-02-23 20:45:18 -08:00
Michael Ball
6a47257333 skip _not pending_ the commerical spec, since it is currently not correct 2021-02-23 20:44:56 -08:00
Michael Ball
e0fd14e0ce Cleanup omniauth specs 2021-02-23 19:49:34 -08:00
Michael Ball
2dc3950cb0 Fix commericals feature specs (UI consistency). 2021-02-23 18:43:18 -08:00