Comments (12)
Is this Linux? I think you may need to start Xvfb manually to get a display. This seems to have a reasonable explanation: http://elementalselenium.com/tips/38-headless
from slack-ruby-bot-server.
Let me take this one.
from slack-ruby-bot-server.
Stuck in #155
from slack-ruby-bot-server.
This is my environment setup:
debian @ workspace in slack-ruby-bot-server on chore/replace-cursor-with-pagy via 💎 v3.1.3 on ☁️ (us-east-2)
⌛ 11:46 ❯ firefox --version
Mozilla Firefox 108.0.1
debian @ workspace in slack-ruby-bot-server on chore/replace-cursor-with-pagy via 💎 v3.1.3 on ☁️ (us-east-2)
⌛ 11:46 ❯ geckodriver --version
geckodriver 0.32.0 (4563dd583110 2022-10-13 09:22 +0000)
And the integration tests still fail:
1) Teams oauth v1 oauth registers a team
Failure/Error: visit '/?v1&code=code'
Selenium::WebDriver::Error::UnknownError:
Process unexpectedly closed with status 1
# ./spec/integration/teams_spec.rb:26:in `block (5 levels) in <top (required)>'
# ./spec/integration/teams_spec.rb:25:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:11:in `block (3 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (2 levels) in <top (required)>'
Meanwhile, using this command, all tests pass:
/usr/bin/xvfb-run --auto-servernum bundle exec rake spec
Do you have any advice, @dblock ?
from slack-ruby-bot-server.
I've been playing around replacing cursor
with pagy
. pagy doesn't support cursor pagination. Are we okay to drop the cursor pagination support for active record?
@dblock
from slack-ruby-bot-server.
@crazyoptimist I don't think so unless we absolutely must, because cursor pagination is the only way to keep a stable query. I wouldn't use a page by page sort in a production app with changing data.
from slack-ruby-bot-server.
@dblock pagy-cursor seems to be only one supporting cursor pagination for AR, but I wouldn't recommend to use it because it's immuture yet.
from slack-ruby-bot-server.
@dblock pagy-cursor seems to be only one supporting cursor pagination for AR, but I wouldn't recommend to use it because it's immuture yet.
I like it enough, let's help mature it?
from slack-ruby-bot-server.
Already tried it and got this issue, I might did something wrong. Nonetheless, the repo doesn't seem to be actively maintained, no responses in several open issues.
from slack-ruby-bot-server.
Do you have a branch with this non-working code?
from slack-ruby-bot-server.
https://github.com/crazyoptimist/slack-ruby-bot-server/tree/chore/replace-cursor-with-pagy
Nothing to commit yet.
from slack-ruby-bot-server.
I'm playing with this starter, where slack-ruby-bot-server is locally plugged in. Just FYI.
from slack-ruby-bot-server.
Related Issues (20)
- How to integrate this lib with a Rails app? HOT 6
- Extract slack-ruby-bot-server-realtime HOT 1
- gem 'cursor_pagination' is conflicting with rails model generator HOT 2
- https://slack-ruby-bot-server.herokuapp.com no longer has a mongodb HOT 2
- oauth_authorization_url_mismatch for new slack apps HOT 5
- Migration guide for legacy Slack apps to Granular Scopes
- Unable to use Postgres HOT 5
- NameError: uninitialized constant SlackRubyBotServer::Api::Presenters::TeamPresenter::Boolean w/mongoid 7.3.x HOT 5
- Throws a Runtime Error if team is already regstered. HOT 6
- Add support for socket mode HOT 4
- Add to Slack button - Redirect Endpoint? HOT 1
- What about this gem sets it up to show the Add To Slack button? HOT 3
- Document adding a RESTful API HOT 5
- Bot doesn't handle being removed from the last Organization on Slack side HOT 2
- Is there anyway to extend the Team model to add my own attributes? HOT 11
- Prevent test workflows from running when updating docs only HOT 1
- Release 2.1.0 HOT 1
- Disabling/Hiding some teams endpoints. HOT 4
- Configuring Log Level 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 slack-ruby-bot-server.