Commit Graph

116 Commits

Author SHA1 Message Date
Nolan Lawson e489702dc6
tests: remove more testcafe .find() calls (#376) 2018-06-08 21:54:21 -07:00
Nolan Lawson fa08739fc4
tests: remove .find()s from testcafe in utils.js (#375) 2018-06-08 21:54:11 -07:00
Nolan Lawson 08ad25f677
tests: improve flakiness in basic timeline spec (#378) 2018-06-08 21:53:45 -07:00
Nolan Lawson e8d2cd9ffc
tests: quicker login, tweak test setup (#372)
* make tests faster by logging in directly

* downgrade testcafe

* Revert "downgrade testcafe"

This reverts commit 0f78f5ef63f25b6428de2faba476a353a338c695.

* try a delay

* the delay does not do anything

* disable concurrency in testcafe

* make setup script less noisy

* try transparency of 2?

* Revert "the delay does not do anything"

This reverts commit 438b3519a4e0c325e89f0c2a0eff6a7a4ae11ebd.

* try a delay of 400ms

* okay fine delay of 1s

* try concurrency of 4 again
2018-06-08 09:00:20 -07:00
greenkeeper[bot] 708340502d Update testcafe to the latest version 🚀 (#370)
* chore(package): update testcafe to version 0.20.3

* package-lock update

* make theme test pass
2018-06-07 15:26:21 -07:00
Nolan Lawson efdb0bc534
Remove testcafe roles and run in parallel x4 (#334)
* more attempts to fix test flakiness

* remove testcafe roles entirely

* really remove testcafe roles

* run testcafe in parallel x2

* run testcafe in parallel x4

* fix online/offline forcing in tests

* fix pin test
2018-05-26 13:51:41 -07:00
Nolan Lawson fe12b72293
attempt to fix flaky tests (#318)
* attempt to fix flaky tests

* another attempt to fix flakiness

* more attempts to fix flakiness
2018-05-24 20:01:34 -07:00
Nolan Lawson 8089202977
add ability to pin and unpin statuses (#235)
* add ability to pin and unpin statuses

* add another test
2018-04-29 12:28:44 -07:00
Nolan Lawson ffb00fcc5c
approve/reject follow requests, unblock, unmute (#230)
* approve/reject follow requests, unblock, unmute

* make tests less flaky
2018-04-28 14:19:39 -07:00
Nolan Lawson 8a46f3b3d1 add test and aria-label 2018-04-26 22:37:39 -07:00
Nolan Lawson 6bd4b05a98
fix more bugs in autocomplete (#208)
* fix more bugs in autocomplete

fully fixes #170

* fixup

* fix tests
2018-04-21 14:57:02 -07:00
Nolan Lawson 209b36c73b
fix flaky login tests (#209) 2018-04-21 13:06:46 -07:00
Nolan Lawson e4d2934c67
fix themes (#199)
Fixes #194
2018-04-21 00:33:42 -07:00
Nolan Lawson 581a0fcd00
fix multiple compose autosuggest dropdowns (#188)
* fix multiple compose autosuggest dropdowns

Fixes #170

* fix failing test

* remove console.log
2018-04-20 06:26:36 -07:00
Nolan Lawson 979b4afc89
fix mute test (#174) 2018-04-19 09:34:49 -07:00
Nolan Lawson e431c29efa
update and pin all deps (#164) 2018-04-18 20:43:13 -07:00
Nolan Lawson 00e71293d6
fix autosuggestion mixed with emoji (#154)
fixes #140
2018-04-17 18:38:36 -07:00
Nolan Lawson 980fec15ec
fix favorites/boosts reversed aria labels (#153)
Fixes #146
2018-04-17 18:38:27 -07:00
Nolan Lawson e8a527989a
explicitly focus elements in tests (#147) 2018-04-17 09:44:28 -07:00
Maxime Le Conte des Floris eef54e992b focus container on page load (#116)
* focus container on page load

* only focus container on first page load

* add test for container focus on page load

* fix typo
2018-04-17 09:42:10 -07:00
Nolan Lawson 7ff45dfb3f
mute and unmute accounts (#127) 2018-04-14 22:18:48 -07:00
Nolan Lawson cb20965678
Add test for mentioning an account (#126) 2018-04-14 20:56:13 -07:00
Nolan Lawson 732d1fded4
Block and unblock an account (#125)
One of the many features listed in #6
2018-04-14 18:47:55 -07:00
Nolan Lawson 6230c2703e
content warnings can have emoji (#122)
fixes #105
2018-04-14 15:50:06 -07:00
Nolan Lawson ff8e92df6c
preload content in CW (#110)
* preload content in CW

Fixes #63

* fix test
2018-04-14 10:47:53 -07:00
Nolan Lawson 707e89e899
faster hydrateContent() algorithm, add test (#109) 2018-04-14 10:08:43 -07:00
Nolan Lawson a82c44c21f
Replying returns focus to reply button (#98)
Fixes #42
2018-04-12 21:18:14 -07:00
Nolan Lawson 84148912ee
Fix spoilers being posted after removal (#90)
Fixes #83
2018-04-11 22:55:11 -07:00
Nolan Lawson 44dafb591e travis: fix flaky test 2018-04-10 22:38:10 -07:00
Nolan Lawson ebc11ad00e travis: attempt to fix flaky test 2018-04-10 21:46:30 -07:00
Nolan Lawson f2b2eb1cec travis: try to fix flaky test 2018-04-10 21:19:29 -07:00
Nolan Lawson dac4d120f3 travis: try to fix flaky tests 2018-04-10 20:56:42 -07:00
Nolan Lawson 9d706a3748
Add img title as well as alt (#66)
Fixes #57
2018-04-10 20:02:42 -07:00
Nolan Lawson 7ae3212c55
Fix alts for image uploads (#54)
* Fix alts for image uploads

Fixes #41

* fix alts mixed with no-alts
2018-04-09 18:30:15 -07:00
Nolan Lawson eb8cd5f83d simplify and refactor dialogs using event bus 2018-04-08 16:56:20 -07:00
Nolan Lawson ee8cda5d66 fix modifying replies to statuses 2018-04-08 13:42:31 -07:00
Nolan Lawson e34a1054a2 fix tests 2018-03-31 22:08:24 -07:00
Nolan Lawson 125dd6ab75 make tests run slightly faster 2018-03-31 17:59:20 -07:00
Nolan Lawson ff27c68760 fix lint 2018-03-31 17:42:59 -07:00
Nolan Lawson f9993cac35 fix post privacy for replies 2018-03-30 10:04:35 -07:00
Nolan Lawson 42a467ffc8 make test less flakey 2018-03-30 08:19:18 -07:00
Nolan Lawson 5a0c4897b0 make replies inline 2018-03-30 01:06:17 -07:00
Nolan Lawson 6f350b68d3 fix content warning should delete when you hide it 2018-03-28 18:37:53 -07:00
Nolan Lawson ddd32a2223 improve tests 2018-03-27 08:38:40 -07:00
Nolan Lawson 58b700788c add floating compose button 2018-03-27 00:02:55 -07:00
Nolan Lawson 7ce9a39119 add emoji autosuggest 2018-03-25 12:24:38 -07:00
Nolan Lawson 62ef9d7bb0 tweak test timeout 2018-03-22 17:55:57 -07:00
Nolan Lawson d40befacdb compose button is not disabled by default 2018-03-22 17:55:35 -07:00
Nolan Lawson 0c9992c0e1 change scheduling to focus on requestIdleCallback 2018-03-20 20:28:53 -07:00
Nolan Lawson 98b704f465 optimistic updates for fav/reblog 2018-03-20 17:41:39 -07:00