Comments (7)
Let's keep it open. Wherever it's solved, we'll make sure the solution gets to the other place.
from acropolis.
I don't know if it's db-related but I understand there's a cucumber test instability from reporting in upstream diaspora#8279
from acropolis.
Ah, I see. I think I should close this issue as duplicating diaspora#7373, which is much more detailed. Do you agree?
from acropolis.
diaspora#7373 does have a list of tests near the top which fail randomly and that I have run into today as I test #45. So that's a +1 on the value part of this.
As for whether specific test flakiness is the right problem, my thinking is that tests of end-user behavior that are pretty easy for a dev to test locally might be more trouble than they are worth. Yesterday I learned these cucumber tests require Google Chrome's binary which I consider a problem in a free software project.
from acropolis.
This helps to see the most common recent failures.
gh run list -w CI -R c4social/diaspora | grep completed | grep failure | cut -f7 | while read -r line ; do
gh run view $line --log-failed | grep Failing -A 1 | cut -f3 | cut -d' ' -f2-
done
Reading https://collectiveidea.com/blog/archives/2015/05/26/fixing-intermittent-failing-tests it seems many of these may have to do with race conditions and can be solved by making the step wait for a thing to return before moving on. For example this kind of thing where an action like click_link
is followed immediately by end means the next step might be expecting a state change that hasn't finished.
When /^I select all aspects$/ do
within('#aspects_list') do
click_link "Select all"
end
end
from acropolis.
Wit #79 having been applied, flakiness isn't being seen locally any more. Closing this but feel free to reopen if more is detected in CI or locally.
from acropolis.
If this seems fixed after a couple weeks more of development, then we'll make a PR for upstream.
from acropolis.
Related Issues (20)
- Problem: UI toasts multiple times the first time a user logs in
- Problem: Account creation form doesn't have text labels
- Problem: First-time login continue button says "take me to diaspora*"
- Problem: CI downloads a schema from a website HOT 2
- Problem: Too many junk/novelty accounts being created HOT 1
- Problem: Gemfile has too tight version requirements which should instead be solved by Gemfile.lock HOT 4
- Problem: Admin from rake task doesn't have email confirmed
- Problem: Acropolis not available for installation on Yunohost HOT 3
- Problem: Switch to standard mode doesn't work from mobile sign_in page
- Problem: toml configuration example has confusing mix of commented defaults and non-defaults
- Problem: UI refers to diaspora* software and c4social
- Problem: docker-compose not updating front-end assets and precompiling locally fails HOT 1
- Problem: Dockerfile pulling code from weex/diaspora
- Problem: Dockerfile fails to build since /log already exists
- Problem: Post formatting doesn't carry through to email
- Problem: Can't contact users unless their server supports diaspora's protocol
- Problem: Can't create initial admin account within the UI HOT 1
- Problem: There's no way to create a private group
- Problem: Can't create an account from command line
- Problem: Acropolis may not have good accessibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acropolis.