title: Import Fragment from GraphQL File to Another GraphQL File Does Not Work
body: <p>I am trying to make test on Karate by using .graphql file and passing variables. On my graphql schema, I am trying to reuse fragment from another .graphql file. I tried following the explanation on <a href="https://www.apollographql.com/docs/react/advanced/fragments#webpack-importing-fragments" rel="nofollow noreferrer">https://www.apollographql.com/docs/react/advanced/fragments#webpack-importing-fragments</a> but when I run the Karate test with #import statement on .graphql file, the test failed saying the fragment is unknown.</p>
  
  <p>FindProfile.feature</p>
  
  <pre><code>@smoke
  Feature: Test GraphQL FindTrendingProfiles
  
      Background:
          * url 'https://192.168.0.0.1'
  
      Scenario: FindTrendingProfiles Request
          Given def query = read('FindProfile.graphql')
          And def variables = { cursor: "1", cursorType: PAGE, size: 2 }
          And request { query: '#(query)', variables: '#(variables)' }
          When method post
          Then status 200
  
  </code></pre>
  
  <p>FindProfile.graphql</p>
  
  <pre><code>#import "./Media.graphql"
  
  query FindProfile($cursor: String, $cursorType: CursorType!, $size: Int!) {
    FindProfile(cursor: $cursor, cursorType: $cursorType, size: $size) {
     edges{
          id
         profilePictureMedia{
                 ...Media
               }
    }
  }
  }
  </code></pre>
  
  <p>Media.graphql</p>
  
  <pre><code>    fragment Media on Media {
      id
      title
      description
    }
  
  </code></pre>
  
  <p>I expect that I can reuse the fragment from another .graphql file, but the actual I cannot do that. Any help is greatly appreciated. Thank you.</p>