GithubHelp home page GithubHelp logo

Comments (6)

smecsia avatar smecsia commented on June 8, 2024

You're right, this seems to be mistake. It should be File.basename file. Could you send a PR?

from allure-ruby-commons.

sharmarahul avatar sharmarahul commented on June 8, 2024

@smecsia @xiaoxinghu I guess the PR for the issue above has already been merged followed by mine in which I added parentheses to fix the syntax error, however, I now have no screenshots in my report. I get the following error:
NoMethodError: private method debug' called for nil:NilClass
occurred at /Users/sharmrw1/.rvm/gems/ruby-2.2.0/gems/allure-ruby-adaptor-api-0.6.8/lib/allure-ruby-adaptor-api/builder.rb:87:in add_attachment'

from allure-ruby-commons.

sharmarahul avatar sharmarahul commented on June 8, 2024

The reason there are no attachments is because I am using the output dir to save my screenshots so it gets wiped out using the clean_dir config. With file now using File.basename, it doesn't know where the screenshot is anymore

from allure-ruby-commons.

sharmarahul avatar sharmarahul commented on June 8, 2024

@smecsia I have sent you a PR to fix the above error. @logger should be LOGGER

from allure-ruby-commons.

sharmarahul avatar sharmarahul commented on June 8, 2024

@smecsia I should have bumped up the version in my PR as well. Would you mind bumping up version for the @logger fix and updating dependency in allure-rspec? I can send another PR if you'd like!

from allure-ruby-commons.

smecsia avatar smecsia commented on June 8, 2024

@sharmarahul I've pushed 0.7.4 to rubygems.

from allure-ruby-commons.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.